People often use nebulizers to treat asthma, but they can also help treat a cough. If a cough is chronic or severe, a doctor may prescribe a nebulizer and certain medications. A nebulizer is a device ...