You should see a doctor. I think that stress can be the cause of restless sleep. Meditation before bedtime helps me a lot. If a person doesn't get enough sleep for a long time, then his cognitive abilities suffer. I notice, that if I didn't get enough sleep I'm less attentive, not assembled and it's hard for me to concentrate on the task. Therefore, I sometimes take this pills nootropicboost.com/buy-best-nootropic-stack/ . They are really cognitive enhancer.