If you haven't been able to sleep for two months, it is important to see a doctor.
There could be an underlying medical condition causing your insomnia.
However, there are some things you can try on your own to improve your sleep.
First, establish a regular sleep schedule and stick to it as much as possible.
Go to bed and wake up at the same time every day, even on weekends.
This will help train your body to fall asleep and wake up at specific times.
Second, create a relaxing bedtime routine that you do every night before going to sleep.
This could include taking a warm bath or shower, reading a book, or stretching.
Third, avoid caffeine and alcohol before bedtime as they can interfere with sleep.
fourthly , make sure your bedroom is dark , quite ,and cool .
fifth get off electronics screens one hour before bed .
Lastly if these don’t work consult with ur doctor
www.quora.com