Trouble sleeping

I have trouble falling asleep I sit in bed for like two hours before I fall asleep. Any ideas how I can fall asleep faster?

Don’t eat a minimum of 2 (3 would be better) hours before you go to bed.

^Most of the time yes