id author title date pages extension mime words sentences flesch summary cache txt en-wikipedia-org-6129 Insomnia - Wikipedia .html text/html 11883 1856 62 Insomnia can occur independently or as a result of another problem.[2] Conditions that can result in insomnia include psychological stress, chronic pain, heart failure, hyperthyroidism, heartburn, restless leg syndrome, menopause, certain medications, and drugs such as caffeine, nicotine, and alcohol.[2][8] Other risk factors include working night shifts and sleep apnea.[9] Diagnosis is based on sleep habits and an examination to look for underlying causes.[3] A sleep study may be done to look for underlying sleep disorders.[3] Screening may be done with two questions: "do you experience difficulty sleeping?" and "do you have difficulty falling or staying asleep?"[9] Sleep hygiene and lifestyle changes are typically the first treatment for insomnia.[5][7] Sleep hygiene includes a consistent bedtime, exposure to sunlight, a quiet and dark room, and regular exercise.[7] Cognitive behavioral therapy may be added to this.[6][12] While sleeping pills may help, they are associated with injuries, dementia, and addiction.[5][6] These medications are not recommended for more than four or five weeks.[6] The effectiveness and safety of alternative medicine is unclear.[5][6] ./cache/en-wikipedia-org-6129.html ./txt/en-wikipedia-org-6129.txt