Using electronic devices before bed can disrupt your sleep due to the blue light they emit, which suppresses melatonin production. It's best to avoid them in the evening if you want better sleep.