I tend to have the same problem from time to time. Just completely out of the blue, I'll struggle to fall asleep 2 or 3 nights in a row. I just lie there, waiting for sleep to come but it never does...no matter what position you might try and put your body in.
The only rememdy that works for me is exercise. Usually I'll take a run down to the basketball court and play a few games and then head to the gym for a swim and a sauna. Then a shower before bed and I'm out like a light.
Also, an orgasm before bed does wonders - so rub one out and ride the post-orgasm wave to sleep.