A doctor treats a lung infection by giving a patient antibiotics and antiviral medications, states WebMD. The treatment largely depends on the cause of the lung infection. For example, viral pneumonia can be treated with oseltamivir and paramivir, both of which are antiviral medications, but it can also be treated by getting sufficient rest.
Another type of lung infection is acute respiratory infection, also caused by a virus, states Healthline. Although it cannot be cured, the symptoms can be treated and secondary infections prevented. If it goes untreated, it can lead to respiratory or congestive heart failure. Symptoms include congestion, cough, sore throat, body aches and difficulty breathing. The best way to treat this condition is to prevent it with good hygiene and a diet rich in vitamin C.
Upper respiratory tract infections that include the lungs and trachea often resolve on their own with the help of the body's immune system, says MedicineNet.com. However, sometimes the condition can worsen, moving from a cough and sore throat to difficulty breathing and swallowing. If this happens, it can lead to hypoxia or lack of oxygen, dehydration, confusion and heart disease. An individual needs to see a doctor if an upper respiratory tract lasts longer than a few weeks.