Cognitive behavioral therapy for insomnia
The first step in treating insomnia with CBT-I is to identify the underlying causes of the insomnia. People with insomnia should evaluate or have their sleep patterns evaluated and take into account all possible factors that may be affecting the person's ability to sleep. This would involve keeping a sleep diary or journal for a couple weeks. The journal will help to identify patterns of thoughts or behaviors, stressors, etc. that could be contributing to the person's insomnia.
Insomnia
Studies have also shown that children who are on the Autism spectrum or have learning disabilities, Attention-Deficit Hyperactivity Disorder (ADHD) or related neurological diseases can benefit from the use of melatonin. This is because they often have trouble sleeping due to their disorders. For example, children with ADHD tend to have trouble falling asleep because of their hyperactivity and, as a result, tend to be tired during most of the day. Another cause of insomnia in children with ADHD is the use of stimulants used to treat their disorder. Children who have ADHD then, as well as the other disorders mentioned, may be given melatonin before bedtime in order to help them sleep.