You need to keep a headache diary.
Jot down details of how frequently (days in a month), what triggers headache, eg hunger, certain foods like sweets, lack of sleep, stress etc, what relieves the headache.
Treatment of migraine requires it's confirmation, and treatment individualized to each patient.
Next Steps
Take the diary to a Neuro specialist and follow his advice.
Health Tips
Avoid triggers.