If you want to use your electronics before bed, invest in orange, red, or amber-tinted glasses so they can help block out the blue light and allow your body to produce melatonin even when you’re doomscrolling. Wear the glasses only at night instead of all day so your mind can keep a strict contrast between day and night.