All conditions

Condition guide

Pneumonia

Pneumonia is an infection in one or both lungs that fills the air sacs with fluid or pus. Bacteria, viruses, and fungi can cause it, and bacteria are the most common cause in adults. Common symptoms are a cough, often with mucus, fever, shaking chills, shortness of breath, and chest pain when you breathe or cough. Older adults may instead feel weak or suddenly confused. Bacterial pneumonia is treated with antibiotics; antibiotics don't work on viral pneumonia. Most people can be treated at home, and with treatment most feel nearly back to normal within 2 weeks.

Medicines covered on KnowYourPills

This isn't a complete list of treatments — your doctor may recommend others, and the right choice depends on you.

If your doctor diagnoses bacterial pneumonia

For fever and aches

Besides medicine

  • Taking every dose of your antibiotic until it's gone, even when you start to feel better
  • Checking with your provider before taking cough or cold medicine; coughing helps clear mucus from your lungs
  • Breathing warm, moist air from a warm, wet washcloth or a humidifier, and taking a couple of deep breaths a few times every hour
  • Drinking plenty of liquids, like water, juice, or weak tea, if your provider says it's OK, and no alcohol
  • Getting plenty of rest, with naps during the day if you can't sleep at night
  • Vaccines that help prevent some types of pneumonia: flu, pneumococcal, and COVID-19 vaccines, plus others such as Hib, whooping cough, measles, RSV, and chickenpox. Ask which are right for you
  • Washing your hands often, staying away from people who are sick, and not smoking

When to get help

  • Fast or painful breathing, shortness of breath, or breathing symptoms that get worse — contact your provider
  • Coughing up bloody or rust-colored mucus, or chest pain that gets worse when you cough or breathe in — contact your provider
  • Shaking chills or fevers that won't go away, or getting worse after you first started to feel better — contact your provider
  • Taking antibiotics at home and not getting better — call your provider; you may need care in the hospital
  • Signs of pneumonia along with a weak immune system, or a condition like heart or lung disease or diabetes that raises your chance of severe pneumonia — contact your provider

Sources

Last updated November 30, 2026. Not yet reviewed by a pharmacist or physician — how our guides are made.

Educational only. This summary is drawn from public FDA labeling, MedlinePlus, and major clinical guidelines, and simplified for readability. Your prescription label and your pharmacist always come first — doses and instructions vary from person to person.