What to do when you can't sleep

I have several friends who are older and have been insomniacs for their entire lives. Since marijuana became legal they take one hit of vapor before bedtime and sleep all night long with no ill side effects. They don't do it to get high. One or two inhalations of vapor or smoke and they sleep like babies.
My good friend is 54 and has been an insomniac his whole life. 3 hours a night at the most. He works all day and works out as well.
Since he started the marijuana he has lost 90 pounds, sleeps 7-8 hours a night and can now truly focus on his work during the day and says he is 90% more productive in a work day.
This has taken away the addiction to pharmaceutical drugs for sleep. All pharms have side effects.
Yal might want to try that if you need to sleep.