Inclusion Criteria:  Veterans enrolled in the inpatient stress unit. Veterans who consent to participating in the treatment study. Veterans who report experiencing weekly nightmares related to a traumatic event.  Exclusion Criteria:  Does not own a smartphone that can access the internet. Veterans who do not experience nightmares related to a traumatic event. Veterans who are unable to wear an electronic headband during sleep.