People with pneumonia usually have difficulty breathing. They may also cough, or have pains in the chest area. The treatment of pneumonia depends on how the illness was caused. If it was caused by bacteria, antibiotics can be used to treat it.