This stresses me out because I’ve struggled with sleep for quite some time. Feels awful.
I started wearing ear plugs and facemask to sleep. I started wearing it because my partner usually sleeps much later than me. First couple night took some adjusting, but after a week or two. I realized something. I started falling asleep almost immediately after putting on the ear plugs and facemask. That's when I made the realization I unintentionally created a habit with the ear plugs and facemask as the cue.
Another thing is not drinking caffeine AT ALL. My sleep quality got much better after I stopped drinking coffee. Strangely I can drink as much tea as I want but coffee makes me sleep badly.