Had insomnia for 7-8 days once, didn't sleep one second. My eyes literally were twitching and rolling if I closed them. I gritted my teeth until 3 molars fractured and made a loud pop that woke me up. Turned me into a vegetable. IQ takes a major hit.
NO ALCOHOL in the evening, It will make you fall asleep, but it raises your blood pressure and you never hit REM.
Don't eat any sugar or soda past 5p. no coffee past 3p. Do not eat anything heavy less than 3 hours before bed. Use the bathroom before bed. Don't go to bed angry. If you don't fall alseep within 20 minutes, get up and walk around. No naps during the day. Melatonin can work, weed works, where it's legal.
Usually due to too much brain activity, let that sht go. Fall asleep to nature shows, they are calming and do not use flash editing going from dark to bright screen in a flash, that's a trigger. Many commercials use that tactic, on purpose.
Make peace with people you love.