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.
Sleep sex
Continuous positive airway pressure is commonly used as treatment for sleep apnea. In cases where the individual has both sleep apnea and sexual behaviors consistent with sexsomnia, the implementation of a continuous positive airway pressure resulted in a complete discontinuation of unwanted behaviors.