You may be doing all the right things—respecting your sleep needs and patterns, setting aside an ample amount of time to sleep, keeping a sleep diary—but still experiencing daytime sleepiness, fatigue, or insomnia. If that's the case, you should consider consulting a sleep specialist who can help you set up a better sleep environment, provide support for making behavioral changes that may be interfering with sleep, or possibly diagnose a sleep disorder. You have a right to feel well rested—and there are many resources available to help you get the sleep you need.
Factors that influence your sleep-wake needs include medical conditions, medications, stress, sleep environment, and what you eat and drink. Perhaps the greatest influence is the exposure to light. Specialized cells in the retinas of your eyes process light and tell the brain whether it is day or night and can advance or delay our sleep-wake cycle. Exposure to light can make it difficult to fall asleep and return to sleep when awakened.
You should then spend 10 seconds trying to clear your mind before thinking about one of the three following images: You're lying in a canoe on a calm lake with nothing but a clear blue sky above you; you're lying in a black velvet hammock in a pitch-black room; or you say "don't think, don't think, don't think" to yourself over and over for about 10 seconds.
Melatonin. Melatonin is a naturally occurring hormone that increases at night. It is triggered by darkness and its levels remain elevated throughout the night until suppressed by the light of morning. Although melatonin does not appear to be particularly effective for treating most sleep disorders, it can help sleep problems caused by jet lag and shift work. Simple exposure to light at the right time, however, might be just as effective. If you take melatonin, be aware that it can interfere with certain blood pressure and diabetes medications. It’s best to stick with low doses—1 to 3 milligrams for most people—to minimize side effects and next-day drowsiness.
Use a blue light filter on your device. The blue light emitted by smartphones and tablets can be a powerful sleep disruptor. It suppresses your body’s production of melatonin and throws your circadian rhythm off, making it harder to fall and stay asleep. Luckily, many smartphones these days have a “night shift” feature that adjusts the screen from cool (blue) to warm (yellow) light, which is less likely to keep you up past your bedtime. Likewise, there are apps you can run on your laptop or tablet that reduce blue light. Some popular ones are f.lux and Twilight.