If you consistently have trouble falling asleep or staying asleep, it may be a sign of a sleep disorder such as insomnia or sleep apnea. Consult a healthcare professional for advice on how to improve your sleep quality.