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.
Irregular sleep–wake rhythm
Treatment for irregular sleep–wake rhythm tries to enable the body clock in the brain, such that a normal long sleep period at night can be achieved. Education about sleep hygiene is important, and counseling can be helpful. Melatonin, vitamin B, sleep aids, wake aids, and other medications may also be used. Light during the daytime, and activities occurring at regular times each day, may help to restore a normal rhythm.