I frequently have insomnia - but have found some help in getting back to sleep.
First, stop talking to yourself in your head! If you get up to go to the bathroom, don't allow any internal dialog.
Second, try doing the "Wave". You pretend that a gentle wave is moving your body in bed. Using the tiniest
muscle movement possible, you move your head deeper into the pillow, then release, then do your chest,
then release, then legs and so on , slowly like a wave. Again, you use the smallest movement you can manage
and keep repeating.......... until..... you feel......... that you .......................................
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz