It seems from the history that you are having headache, pain behind the eyes, dizziness
... All these symptoms indicate primary headache like migraine
The treatment of the condition is by use of anti-inflammatory drugs with antiemetics. Since you are having recurrent attacks you need prophylactic drugs to prevent recurrent attacks. The commonly used prophylactic drugs are flunarizine
or beta blockers.
Hence I advice you to consult your doctor for examination and treatment accordingly.