Hi, it could be cluster headache.
The following measures may help you avoid a cluster attack during a cluster cycle:
Stick to a regular sleep schedule. Cluster periods may begin when there are changes in your normal sleep schedule. During a cluster period, follow your usual sleep routine.
Avoid alcohol. Alcohol consumption, including beer and wine, often can quickly trigger a headache during a cluster period.
The goal of treatment is to decrease the severity of pain, shorten the headache period and prevent the attacks.