So what do you do. I generally just whine and complain, but that doesn't work as well as you might hope.
When I first started experiencing insomnia I used to PBM&C - but found it to be a detrimental antagonist to solving the insomnia.
I've been scripted all of the sleeping meds in existence.
The side effects were not acceptable.
For awhile I embraced the insomnia and turned my sleeplessness into being productive. It's a PITA tossing and turning.
THESE days when I get hit with insomnia
I post on USMB

J/K
What works for me are edibles.
Check your local dispensary.
PM if you need more info.