Welcome to HCM.
Headache could have some underlying organic cause. It needs to be investigated before it is ignored. Fever itself could be a cause of headache. If it recurs frequently, then cause need to be searched for. Ear pathology, dental caries
, raised intracranial pressure, migraine
are some of the more serious causes. These need to be excluded.
Any pain killer will give temporary relief, safest being paracetamol
Wish you all the best.