See a doctor
A child with a persisting, spasmodic cough
should be evaluated by a doctor. While over the counter allergy mess might help somewhat, we're talking about breathing, here.
This can get dangerous quickly. And the out of pocket cost on one year's worth of medication should be less than the cost of one emergency room visit.