You should consult neurologist
,since you are having episodic headache
associated with dizziness and weakness.
CT scan brain to be done to rule out structural lesion
I treat my patients with Naprosyn for severe headache.Avoid fasting and sleep deprivation
.Have timely food ,drink plenty of fluids ,do neck relaxation exercise.