Using Electronic Devices: The blue light emitted by smartphones, tablets, computers, and TVs can suppress the production of melatonin, the hormone that regulates sleep-wake cycles. Avoiding screens at least an hour before bedtime can help improve sleep quality.