could be primary or secondary. Secondary headaches mean there is an onset pathological process as its cause. Distinguishing a primary form a secondary headache is the mainstay of an appropriate treatment. A neurologist
shall be better placed to make this clear distinction. Primary headaches could be migraines, cluster or tension headaches and have specified drugs appropriate for each. How ever, if secondary headaches are suspected, more exams could be asked like a CT scan
and an electroencephalogramme to evaluate the electrical activity in the brain based on the case.
A suggest you meet a neurologist for a proper consultation and management plan.
Hope this helps,