If you have insomnia, find a subject that you are genuinely interested in (but not too much) and watch videos on it while in bed. After a while, your brain slowly drifts off. After even more awhile, you learn to do this without a video.
PBS Spacetime, Sabine Hossenfelder, Isaac Arthur cured my insomnia, for which I am infinitely grateful.