###Human: I am having bad thoughts and not able to sleep. Why? ###Assistant: Hello. I can understand your concern. Some unconscious underlying anxiety resulted in rumination thoughts and worries. These are disturbing the sleep and you are not able to sleep properly. The lack of sleep is further deteriorating the symptoms and ultimately a vicious cycle is getting formed. Insomnia-worries-insomnia cycle should be broken. If these symptoms are resulting in impairment in your day to day functioning then please visit a doctor for evaluation. A psychiatric consultation is needed for an evaluation of anxiety. Drugs like Paroxetine can be utilized for the relief of symptoms of anxiety and will also help in making your sleep sound and peaceful.  Apart from these, I would also advise you to improve the sleep hygiene. Fix your time to go to sleep and waking up. Avoid taking tea, coffee, alcohol, carbonated drinks in the evening. Bathing with warm water in the evening also helps in good sleep. Avoid any activity like watching TV, reading books or playing games on the cell phone from bed. Use your bed for sleeping only. If you fail to get sleep with in 10 minutes of going to bed then get up and try to distract yourself. Avoid trying to get sleep. Do not think that you will not be able to sleep. This will increase the rumination. Take care.