Electronic devices, including laptops, cell phones, and TVs, all give off light that can mess with your body’s production of melatonin. "Melatonin is the hormone that helps you fall asleep at night," Robert Rosenberg, DO, author of Sleep Soundly Every Night, Feel Fantastic Every Day, says.