Blue light exposure before bedtime can delay the production of melatonin — the sleep hormone stimulated by darkness — signaling to your brain that it’s still daytime.
So try to put your digital device away 2 to 3 hours before you plan to go to bed. This will give your body a chance to produce enough melatonin to help your body relax and fall asleep.