Was it associated with any nausea/ vomiting/ vision issue/ frequent nose blockage (sinusitis).
If you don’t have any of above mentioned symptoms then it might be Migraine. How ever one base line imaging of brain (CT/MRI) should be done.
Health Tips
Avoid fasting, take 8-10 hours of sleep, avoid loud music