Hello and thank you for posting your medical question on E health forum.
From the history provided, your headache does appear to be due to a benign cause and nothing related to that of encephalitis.
This has been confirmed by examination by doctors at the hospital.
You might consider using tylenol or ibuprofen for your headache.
I hope this helps.