Using sleep medication may work I'm the very short term, but it will usually not be given long term as it will not work anyway due to tolerance effects. Been there. Less than 1 to 2 hours a night for six months. I'm very aware how this effects your life, so you have my sympathy.
Also, in the long term, sleep aids are likely to make the problem even worse.
I use CBD oil to more gently calm myself. Not sure if it is just a placebo effect, but who cares of it works.