welcome to HealthcareMagic forum. it is unlikely that antibiotic is causing your headache. as you rightly thought that it might just be the infection that is causing the headache. continue the antibiotic, also take some allergen like cetrizine
, might help your headache. also do steam inhalation, might help. wish you good health.