What helps you fall asleep when you have trouble sleeping?

I've dealt with insomnia for years now but lately it's been really rough. I try to go to sleep early but I can only sleep for about 2 hours then I wake up and can't sleep until well into the next morning. Any tips or advice on how to make myself be able to fall and stay asleep would be greatly appreciated. Thank you.
Updates
+1 y
Update: I'm currently typing in my sleep. Someone please send help.
What helps you fall asleep when you have trouble sleeping?
Post Opinion