Pneumonia Diagnosis and Treatment: What to Expect

Medically Reviewed by Minesh Khatri, MD on April 22, 2021

When you visit your doctor to see if you have pneumonia, they’ll ask about your symptoms. Then they may run a number of tests to get an idea of what’s going on, including:

  • Listening to your lungs, with a stethoscope, for a crackling or bubbling sound
  • Chest X-ray
  • Blood test to check white blood cell count
  • Sputum tests (using a microscope to look at the gunk you cough up)
  • A pulse oximetry test, which measures the oxygen in your blood

If an X-ray shows there’s fluid around your lungs, your doctor may do a pleural fluid culture. In this test, they stick a needle into your chest wall and take a sample of the fluid. It’s sent to a lab and checked for signs of infection.

In severe cases, your doctor might also do a bronchoscopy. They’ll use an instrument called a bronchoscope to look at your lung’s airways.

What Are the Treatments?

How your pneumonia is treated depends on what caused it and how bad your symptoms are.

If you have bacterial pneumonia, your doctor will give you antibiotics to treat it. They’ll also take steps to prevent complications.

If your pneumonia was caused by a virus, time and rest are key to your recovery. While viral pneumonia can be treated  with antivirals such as tamiflu, it usually gets better on its own in 1 to 3 weeks. But your doctor may recommend treatment that includes:

If it becomes severe, you may have to stay in the hospital for treatment. While you’re there, your doctor will probably give you fluids or antibiotics through an IV tube. You may even need oxygen therapy or breathing treatments.

WebMD Medical Reference



American Lung Association: “Diagnosing and Treating Pneumonia.”

Mayo Clinic: “Pneumonia Diagnosis.”

National Heart, Lung, and Blood Institute: “Pneumonia Diagnosis.”

© 2021 WebMD, LLC. All rights reserved.
Click to view privacy policy and trust info