From your details,you seem to have one sided recurrent headaches associated with vomiting, which is likely to be Migraine like headache. It can be controlled with medications and life style modifications,and identifying and avoiding headache triggers. Consult a Neurologist for more details.
Next Steps
Consult a Neurologist
Health Tips
Ensure you sleep well, drink lots of water and keep stress under control.