I’ve had problems sleeping in the past but generally have a good routine now.There’s lot of things I do that help. The main thing is to not toss & turn - if you’re not asleep after ten or fifteen minutes, get up & do something relaxing like meditate or read or do a puzzle. Don’t go back to bed until you’re drifting off. Then if you still don’t get to sleep after a bit, get up again & repeat the process.
The next best things that help me are to count backwards from 1,000 in multiples of 3 (1,000, 997, 994, 991 etc). It gives my brain something to focus on rather than worrying about sleep, and I rarely get below the nine hundreds. I also listen to audio books on my mp3, but with the volume really low so I have to concentrate to hear it (kids books can be great for this, as they can be read in a very soothing way - I’ve currently got a Narnia book on mine, and it’s very relaxing)
Other things I do are to never look at the clock - knowing the time never helps me relax. Lower the lights in the evening, which helps your brain start to wind down. Obviously don’t have caffeine in the evening, and I don’t eat late, as going to bed on a full stomach doesn’t help. And don’t ever watch telly in bed - you want your brain to only associate being in bed with sleep.
There’s also a book that might by Colin Espie - if you search his name on Amazon you’ll find it.
Hope that helps & you get some good kip soon.