Dextromethorphan can be appropriate to treat coughing in dogs, but it is only when used following your veterinarian's instructions. Just because this medication is available over the counter does not make it safe to give as you wish. It should be given to an animal only under the guidance of a licensed veterinarian.