Do you have some other sleep problems?
Are you getting enough sleep? Do you feel alert and refreshed the following day?
Are you stressing too much?
Do you have other types of headaches during the day?
How is your general health?
Excessive sleep or sleep deprivation are triggering headaches during sleep.
Certain headache disorders are associated with different patterns of sleep disturbance.