Maybe you couldn’t sleep last night because :
1- Maybe you are struggling with Anxiety.
2- Maybe you are overwhelmed with chronic feelings.
3- Maybe your sleeping environment isn’t comfortable enough.
4- Maybe you are under a lot of stress.
5- Maybe you are struggling with a medical problem.
I think you have to relax or if you continued struggling with lack of sleeping you should ask a doctor.