Generally, giving cough medicine to your dog is not okay. Many over-the-counter cough syrups contain components like ethanol, DXM, or guaifenesin which can be dangerous to canines and cause grave veterinary problems. https://allerdogs.com/cough-syrup-for-dogs-safe-dosage-guide/