Insomnia is most often thought of as both a medical sign and a symptom that can accompany several sleep , medical , and psychiatric disorders characterized by a persistent difficulty falling asleep and\/or staying asleep or sleep of poor quality .
Insomnia can mean a problem with getting to sleep or a problem with staying asleep .