Ear pain associated with headache is usually not of ear origin and probably headache is getting referred to ears. Headaches can be due to many reasons such as migraine, tension type of headache etc. You need to consult nearby ENT specialist or neurologist for confirmation of diagnosis and appropriate treatment if required
Next Steps
Consult nearby ENT specialist for confirmation of diagnosis and appropriate treatment if required