I have huge sleep issues. I've tried all kinds of things and finally hit on a system that seems to be helping.
1. no booze after 7:00 PM
2. take 10 mg of Melatonin at 7:00
3. Take a 1 mg Terazosin and my usual blood pressure meds at 8:30
4. Go to bed in a DARK room at 9:00
5. When I wake up in the middle of the night, if it's before 3AM take 1/2 an Ambien (5mg)
6. Keep a sleep log.
In July I bought a fitbit that tracks my sleep. It helps to quantify what is happening to me.
I started a sleep log about a month ago. I started the above regimen Aug 1st and there is a marked improvement in the amount of sleep I get. I have just had to accept that if I'm going to get 8 hrs of sleep I have to commit 10 hours to the effort.
The Terazosin is a mild sedative and it also helps with BPH. I only wake up to pee maybe once or twice a night - down from 4 times.