Cough syrups work to either stop a dry cough or to make it easier for a patient to cough up excess mucus.