My baby have cough doctor suggested below medicine , is this safe. My kid is 2.6 years. This was online consultation so little worried.

Dr. Priyanka Patel please guide

Please tell me more about your baby's condition are you able to see wet cough or bulgum is your kid also vomiting a lot please tell me everything about your baby that you have noticed and then I will guide you for the because this medication is a strong medication it should only be taken if your baby has excessive coughing access noise from his chest while coughing