I have had problems sleeping since I was in my early 20's. I got a "My Pillow" a while back and that helps with keeping me asleep once I fall asleep (I used to wake up several times during the night.) But, it hasn't helped with me falling asleep.
As an example, I am sitting here typing this on FR because I couldn't sleep.
I have a my pillow it was a gift. Liked it initially but then I found it better to be used as a knee pillow. Still use it tonight. Did not work too good as a head pillow. I like the firmer memory foam type pillows for my hea#d.
Reduce all lighting and use night mode lighting on your phone and computer in the evenings. Take melatonin an hour or so before sleeping. Let your room get cooler. Try sleeping more on your side, it you shore or may have apnea. There are herbal supplements that also help get you to sleep.