Welcome to HealthcareMagic Public Forum
These are following possibilty in your case:
spell during sleep
-Seizure: less likely
Your treatment will depend on cause of headache. So get yourself evaluated for above causes.
Irrespective of cause, following steps will help you to some extent:
-Follow steps of sleep hygiene
-Healthy diet: Milk and fruits in diet.
-Daily morning brisk walk
(which you can learn from some expert in person)
I hope this information has been both informative and helpful for you.
Wish you Good Health.
Dr. Ashish Mittal