Cough syrups are generally not recommended for 2 - 3 months old baby. However depending on individual case doctor may prescribe some medications including antibiotics. Looking at past history of admission and voice change, doctor may justify these medicines.
Next Steps
So continue the meds till next followup.
Health Tips
There should be no much worries if baby feeds well, passes adequate urine and remains playful in between fever.