What you need to know about pneumonia

Learn how to protect yourself from this serious illness, and how to support your recovery if you develop the infection.

doctor showing patient lung x-ray

Pneumonia is a lung infection that can be caused by different types of germs, including bacteria, viruses and fungi. One way to catch pneumonia is by breathing in droplets that carry germs, like from someone coughing or sneezing near you.

Usually, your immune system keeps infectious particles out of your lungs. But pneumonia can develop if you come into contact with an especially strong infection, if the germs make it past your body’s defenses or if your immune system is weak.

Healthy people often recover from pneumonia in about two weeks, but some cases are more serious and may require hospitalization.

Good news: there’s a vaccine

There are two pneumococcal vaccines designed to prevent severe cases of pneumonia. PCV13 is recommended for children under age 2 and those older than 2 with certain health conditions. It’s given to babies in four doses at 2, 4, 6 and 12 to 15 months of age, and to older children on a different schedule, depending on their age.

The PPSV23 vaccine is recommended for:

  • Adults age 65 and older
  • People between ages 2 and 64 with certain health conditions
  • Cigarette smokers between ages 19 and 64

PPSV23 is typically administered in a single dose, though multiple doses or a combination of vaccines may be necessary depending on your situation. Check with a healthcare provider (HCP) to see which course of action is right for you.

Who’s at risk for pneumonia?

Certain people—particularly children younger than 2 years and adults over 65—are more likely to come down with pneumonia and are therefore prime candidates for the pneumococcal vaccine. You may also be at higher risk if you have one of the following risk factors.

You have a weak immune system or a chronic illness. If your immunity is impaired by a condition like cancer or HIV, ask your HCP how you can protect yourself against pneumonia. They may tell you to take precautions similar to those recommended for COVID-19, such as wearing a mask in public or avoiding crowded places. They will also recommend getting a pneumococcal vaccine.

You’re a smoker. Smoking increases your risk of developing pneumonia and makes it harder for your body to fight the illness. Ask your provider about the pneumococcal vaccine, as well as cessation methods like nicotine replacement gum, patches or medications like Chantix or Zyban.

You’re in the hospital. If you’re an inpatient, ask your nurse to help you get out of bed every day. Walking and sitting up helps you expand your lungs and expel or cough up germs. Your provider might also have you use a device called a spirometer to help you improve your lung function.

You can also lower your risk of catching pneumonia by getting the flu vaccine each flu season, which starts around October. The flu is the number-one cause of viral pneumonia. Getting vaccinated can protect you and your loved ones.

Pneumonia symptoms

The main symptom of pneumonia is a cough. You might also experience:

  • Fever
  • Chills, sweats and body aches
  • Loss of appetite
  • Low energy
  • Headache

Some shortness of breath and chest pain are also to be expected with pneumonia. Call your HCP if you start feeling sharp pains with breathing or if your breaths become too fast or abnormal. If you feel like you can’t get air into your lungs, call 911.

Diagnosing pneumonia

Your HCP may test your blood to see if you’re infected. They’ll also listen to your lungs and take your vital signs, which includes checking your temperature and oxygen level. A high fever and low oxygen level can signal that you have a more serious infection.

You may require a chest X-ray to confirm that you have pneumonia. The X-ray allows your HCP to see which parts of the lungs have been infected and whether there is fluid surrounding the lungs.

Pneumonia treatment

Treatment depends on the type of infection you have and its severity. If bacteria are causing it, your HCP will prescribe antibiotics. Make sure you take every dose, even if you start feeling better. Doing so can keep the infection from coming back and lower the chances of antibiotic resistance.

Antibiotic resistance is a growing public health problem that’s making it harder for HCPs to treat infections. In fact, the first round of antibiotics prescribed in the outpatient setting may no longer work for one out of four people with pneumonia, according to research from 2017. That may be due, at least in part, to antibiotic resistance.

Your HCP might also recommend a medication like acetaminophen to lower your fever and relieve body aches. If you have a more serious case of pneumonia, you may need to be hospitalized to receive IV medications, oxygen therapy and breathing treatments, or vaporized medicine that you inhale to help break up thick mucus secretions resulting from the infection.

How can I take care of myself when I have pneumonia?

There are some things you can do to help your body fight the infection:

  • Drink plenty of fluids and consider using a humidifier. Breathing in moist air and staying hydrated can help loosen your mucus secretions, making them easier to cough up. If you don’t have a humidifier, run hot water in the shower and breathe in the steam.
  • Don’t take over-the-counter (OTC) cough and cold medications. Avoid OTC meds unless your HCP says they’re okay. They can suppress your cough, making it harder for your body to get rid of the infection.
  • Don’t drink or smoke. Alcohol can interfere with some antibiotics and smoking will irritate your lungs and slow down healing.

When you have pneumonia, your body needs time to recover. Stay home from work and school and be sure to get plenty of rest.

Article sources open article sources

KidsHealth.org. “Pneumonia.” August 2014. Accessed June 22, 2021.
American Lung Association. “Learn About Pneumonia.” October 23, 2020. Accessed June 3, 2021.
American Lung Association. “Pneumonia Recovery and Treatment.” May 27, 2021. Accessed June 18, 2021.
MedlinePlus. “Community-acquired pneumonia in adults.” August 3, 2020. Accessed June 3, 2021.
Centers for Disease Control and Prevention. “Pneumococcal Polysaccharide VIS.” October 30, 2019. Accessed June 3, 2021.
FamilyDoctor.org. “Pneumonia.” September 23, 2020. Accessed June 3, 2021.
Centers for Disease Control and Prevention. “Pneumococcal Vaccination: What Everyone Should Know.” August 7, 2020. Accessed June 17, 2021.
Centers for Disease Control and Prevention. “Recommendations, Scenarios and Q&As for Healthcare Providers about PCV13 for Adults.” August 7, 2020. Accessed June 22, 2021.
Association for Professionals in Infectious Control and Epidemiology. “Top 9 ways to reduce the risk of pneumonia if you or a loved one is hospitalized.” 2021. Accessed June 22, 2021.
American Thoracic Society. “Antibiotic therapy for nearly one in four adults with pneumonia does not work.” Science Daily. May 22, 2017.

More On

Is it still possible to get COPD or emphysema years after I quit smoking?

video

Is it still possible to get COPD or emphysema years after I quit smoking?
It is certainly possible to get COPD or emphysema years after you quit smoking, as smoking can cause chronic inflammation that builds up over time. Pu...
Asthma Causes: What You Need to Know

article

Asthma Causes: What You Need to Know
Most people with asthma understand asthma triggers. But do you know what causes asthma in the first place?
6 Tips for Healthy Eating With COPD

slideshow

6 Tips for Healthy Eating With COPD
Chronic obstructive pulmonary disease makes breathing difficult, but a few simple changes to your diet may help.
What are the complications of pneumonia?

video

What are the complications of pneumonia?
Untreated pneumonia can progress and spread into all the lung fields, making it difficult to breathe; if severe, patients may need assisted breathing ...
Manage stress to breathe better with asthma and COPD

video

Manage stress to breathe better with asthma and COPD
Stress can influence almost any aspect of life, including breathing problems. Robin Miller, M.D. describes the reasons that stress affects breathing a...