What do you do when you can't sleep?

I have a lot of trouble sleeping, especially sleeping early and it takes me up to an hour to fall asleep at night. What do you do when you are having a sleepless night?
What do you do when you can't sleep?
Post Opinion