This medication works by suppressing dry, hacking coughs. It is usually used for a short term to control coughing associated with the flu, a cold, or due to inhaled irritants. This medication may be available under multiple brand names and/or in several different forms.