Personally, if I cannot sleep, I get up and grab my Bible, reading in the dimmest light possible (for the least amount of eye/light stimulation). I'll also eat a piece of toast and drink water or orange juice. After I've read and prayed as much as I feel necessary, I go back to bed. Typically this routine will help me fall back asleep within a few minutes.