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.
Nightmare disorder
Diagnosis and medication can only be given to patients that report the recurring nightmares to a psychiatrist or other physician. Medications like prazosin are sometimes used to treat nightmares in people with PTSD. Therapy usually helps to deal with the frightening themes of the nightmares and alleviate the recurrence of the dreams. The persistent nightmares will usually improve as the patient gets older. Treatments are generally very successful.