Based on you details you had prior history of brain fever
,now has episodic headache( intermittent short duration headache)
This is unlikely to be brain fever where headache will be continuous and associated with fever.
Episodic headache can occur due to migraine( vascular headache
), tension headache
and can be type of seizure ( fits with headache without involuntary movement of limbs)
You should consult neurologist
for clinical examination and CT scan brain to rule out structural lesion.
Hope this would help you