this is likely to be either migraine or cluster headache.if these headaches have occured previously,chances of migraine are more.Also ,if there is history of recent cough,cold,ear issues,headache can be secondary to these.BP needs to be checked too.
Next Steps
Please visit your physician and relevant medications can be given accordingly.
Health Tips
avoid exposure to sun and drink plenty of water