Medication prescribed to treat pneumonia depends on the cause of the infection:
- Medication for a viral infection: Viral infections cannot be treated with antibiotics. Instead, take an over-the-counter pain reliever/ fever reducer such as ibuprofen (Advil, Motrin IB) or naproxen (Aleve) to reduce the symptoms of pneumonia. If your doctor believes that the influenza virus has caused pneumonia, they may prescribe an antiviral medication used to treat the flu. These drugs include: oseltamivir (Tamiflu), zanamivir (Relenza), peramivir (Rapivab) or baloxavir (Xofluza).
- Medication for bacterial infections: Antibiotics are the most effective treatment for pneumonia caused by a bacterial infection. The specific antibiotic your doctor will prescribe depends on your health history, antibiotic resistance, and the bacteria causing the infection. Your doctor may need to try several different antibiotics to determine which medication will be the most effective. During antibiotic treatment, use an over-the-counter pain reliever/ fever reducer to manage your symptoms.
- Medication for fungal infection: If your doctor suspects that a fungal infection is causing your pneumonia, they may prescribe an antifungal medication as treatment. Antifungal medications used to treat pneumonia include: fluconazole (Diflucan), itraconazole (Sporanox), flucytosine (Ancobon), and ketoconazole (Nizoral).