So a common cause of sleep onset insomnia is that people have racing minds and thoughts at bedtime. Now this is a quiet time where you are able to think about what you're supposed to do for the next day, or everything that occurred that same day.
One of the things that I tell people to do is keep a pad and pen at their bedside, so if they're worrying about what they're supposed to do the next day, they can just write it down and forget about it. They don't need to keep themselves up, worrying about remembering what they have to do. Another thing that they can do to help prevent racing thoughts, and mind, is that they can try relaxation techniques. Meditations, mouth stretching, or yoga, are all things that you can do to help yourself calm down at night, at bedtime, so you can help initiate sleep onset.
If you find that despite these interventions, that you are still having anxiety at bedtime you might want to talk to your doctor about using anti-anxiety medications or anti-depressants, to help you cope with anxiety, to help you sleep a little bit better at night. So there are several ways, to help you cope with your anxiety at night, and with racing mind and thoughts, but if you find that interventions are not working, you should really consult with your doctor to see if you have an underlying anxiety problem that might be causing this.