Hi Miloni mishra,
Thank you for your query,
You continue the medication as advised by your Pediatrician
With the history of symptoms it is very difficult to say whether it is viral or bacterial.
As your Pediatrician has examined the child and prescribed the medication, you conyinue the antibiotic.
The medication is fine and safe.
Whenever indicated the antibiotic is safe and treats the infection.
If your child still having problem, consult the doctor for follow up.
Hope I have answered your query.