1. Don't look at a screen for an hour before going to bed.
2. Wear a sleep mask. If you can open your eyes and see any sliver of light or a distinguishable shape, you need something different.
The effect is complete lack of visual stimulus making it really easy to start hallucinating (an overly strong word) which is an easy ramp into deeper sleep. The lack of bright blue light beforehand does something something melatonin, and you'll feel significantly more tired before bed (the lack of stimulus will also help).