Hoarse baby

My 4 month old has come down with a cough and she’s been very fussy and now she’s very hoarse. Is there anything I could give her to make her feel better? Her pediatrician recommended zarbees for babies 2+ months and I gave it to her twice but both times she started throwing up and choking.