Bronchitis is a viral infection with symptoms that include difficulty breathing and a hacking cough that produces phlegm. Bronchitis is treated with rest, plenty of fluids, and avoiding smoking and fumes. See your doctor if your cough lasts more than three weeks, prevents you from sleeping and is accompanied by fever.