It looks as if headaches and allergies are more closely linked in children than in adults. Headaches could be a symptom of a childhood disease, or of an infection. Babies who have headaches often touch their heads or ears.
Chronic headaches should be checked out by your GP. Also ask about the appropriate medication, as children respond differently to adults to different types of medication.