Roll over, put a pillow over my head, and try to stop thinking. lol
That situation applies to when I am in bed and can't sleep.
If I am up and doing things and don't feel like I can go to sleep yet, I continue to do whatever I am doing and then go to bed real late.