The first line of treatment is CBT-I.
If you aren't careful, you'll lose your internet medical license with such bold medically unsound claims.
As someone who took way too long fussing with sleep hygiene and the like before finally getting a proper sleep test though, I see the potential danger of telling people what to do first. (Though in my defense, I did get a sleep test a while back and it ended up the sleep tech was trash and I should have gotten a second opinion)