What do you do when you have insomnia and can’t sleep all damn night

Em

I’m 18w and I just hit the insomnia nights, I was awake for more than 7 hours last night, I was getting so frustrated that I couldn’t sleep tht it was helping to keep me awake, also having to get up to pee 6 times didn’t help. What do you guys do when you can’t sleep? Or when you know you are not going to fall asleep? Do you get up and do something else?