It seems from the history that you are having headache associated with nausea. These symptoms indicates primary headaches
The treatment of the condition is by use of anti-inflammatory drugs and analgesics.
However if the attacks are recurrent prophylactic drugs like flunarizine
or beta blockers like propranolol
are indicated to prevent recurrent attacks.
Hence I advice you to consult your doctor for examination and treatment accordingly.