Thanks for your query.
Your baby is having features of respiratory infection which is viral or bacterial in nature.
Relax,I understand your concern .Every medicine has a side effect but in prescribed dosage it is safe to use.
I suggest you to give medicine as prescribed by your pediatrician
Be in regular follow up with your doctor .
Wishing your baby good health,