If you have pneumonia, the most important things you can do are rest, stay hydrated, take your prescribed medications exactly as directed, and monitor yourself for signs that you’re getting worse. Most people start feeling better within one to two weeks, but full recovery, especially the lingering fatigue, often takes a month or longer.
What you should do depends partly on the type of pneumonia you have and how severe it is. Here’s a practical breakdown of how to manage it at home, what treatments to expect, how recovery typically unfolds, and what warning signs mean you need emergency care.
Get a Clear Diagnosis First
Pneumonia can be caused by bacteria, viruses, or (less commonly) fungi, and the treatment differs for each. Your doctor will typically confirm the diagnosis with a chest X-ray, which shows where and how much of your lung is affected. Blood tests help confirm an active infection, and a pulse oximetry reading (the clip on your finger) checks whether your lungs are moving enough oxygen into your bloodstream. In some cases, a sputum test, where you cough up a sample of mucus from deep in your lungs, helps identify the specific organism causing the infection.
If your pneumonia isn’t improving as expected, your doctor may order a CT scan for a more detailed look at your lungs. Knowing the cause matters because antibiotics only work against bacterial pneumonia. They do nothing for viral pneumonia.
Medications You May Be Prescribed
For bacterial pneumonia, your doctor will prescribe antibiotics. The specific type depends on the severity of your illness and whether you’re treated at home or in the hospital. In many cases, people who are clinically stable see improvement within three to five days of starting antibiotics. Finish the entire course your doctor prescribes, even if you start feeling better early, to prevent the infection from coming back or developing resistance.
If your pneumonia is caused by the flu virus, antiviral medications work best when started within one to two days of symptom onset. These are typically taken twice a day for five days, though one newer option is given as a single dose. Antivirals won’t cure the pneumonia overnight, but they can shorten the illness, reduce severity, and lower the risk of complications. If you have asthma or COPD, make sure your doctor knows, because one inhaled antiviral isn’t recommended for people with breathing problems.
For viral pneumonia that isn’t flu-related, there may not be a specific antiviral treatment. In those cases, management focuses on supportive care: controlling fever, staying hydrated, and resting while your immune system does the work.
How to Take Care of Yourself at Home
Rest is not optional. Your body is fighting a serious lung infection, and pushing through normal activities slows recovery. Plan to scale back your routine significantly for at least one to two weeks, and possibly longer.
Stay well hydrated. Water, broth, herbal tea, and electrolyte drinks all help thin the mucus in your lungs, making it easier to cough up. Eating enough protein is also important. Pneumonia increases your body’s demand for protein to repair tissue and support your immune response. Focus on nutrient-dense meals even if your appetite is reduced. Eggs, yogurt, chicken, beans, and smoothies are all good options when you don’t feel like eating much.
Sleep with your head elevated. Propping yourself up with an extra pillow or two helps your lungs drain and makes breathing more comfortable, especially at night when coughing tends to worsen.
Managing Your Cough
Coughing is actually productive during pneumonia. It’s one of the main ways your body clears mucus and infected material from your lungs. Suppressing it entirely can slow your recovery.
If you have a wet, mucus-producing cough, it’s generally best to let it do its job. An expectorant containing guaifenesin can help loosen thick mucus so you can cough it up more easily, but a productive cough doesn’t usually need to be suppressed. If you have a dry, hacking cough that’s keeping you from sleeping or functioning, a cough suppressant containing dextromethorphan may help at night. Use it sparingly, though. Over-the-counter cough medicines can mask worsening symptoms that need medical attention.
Over-the-counter pain relievers can help manage fever and body aches.
Breathing Exercises That Help
Your doctor may recommend an incentive spirometer, a simple handheld device that encourages you to take slow, deep breaths. It’s commonly used during pneumonia recovery to keep your lungs expanding fully and prevent parts of them from collapsing.
To use one, sit upright, seal your lips around the mouthpiece, exhale normally, then inhale slowly and steadily. The goal is to raise the indicator inside the device to a target your provider sets while keeping your breath controlled (not too fast, not too slow). Hold your breath for three to five seconds at the top, then exhale slowly. Aim for 10 to 15 breaths every one to two hours. If you’ve had chest or abdominal surgery, pressing a pillow against your belly while breathing in can ease discomfort.
Even without a spirometer, practicing slow, deep breathing throughout the day helps. Take five to ten deliberate deep breaths every couple of hours to keep your lungs open and aid mucus clearance.
What Recovery Actually Looks Like
Recovery from pneumonia is slower than most people expect. Some people feel better and return to normal routines in one to two weeks. For others, especially older adults or those with chronic health conditions, it can take a month or longer. Most people continue to feel tired for about a month, even after other symptoms have resolved.
A rough timeline for many cases: fever tends to break within the first few days of treatment, shortness of breath gradually improves over the first one to two weeks, and the cough can linger for several weeks after the infection itself has cleared. Don’t interpret a persistent cough as a sign the antibiotics failed. Some residual coughing is normal as your lungs heal.
Return to exercise and physically demanding work gradually. Jumping back in too quickly, even when you feel “mostly better,” can set you back. Listen to your body. If a short walk leaves you winded, you’re not ready for more.
Warning Signs That Need Emergency Care
Most pneumonia can be managed at home or with outpatient treatment, but certain signs mean you need immediate medical attention. Go to the emergency room or call 911 if you:
- Struggle to breathe or feel short of breath while sitting still
- Develop new or worsening chest pain
- Become confused or can’t think clearly
- Have a rapid breathing rate of 30 breaths or more per minute
- Notice your heart rate is below 50 or above 100
- Have a body temperature that drops below normal
Your doctor may also use blood pressure readings to assess severity. A systolic pressure below 90 or diastolic below 60 in the context of pneumonia symptoms is considered a red flag. If you have a home pulse oximeter, oxygen saturation that drops below the low 90s warrants a call to your doctor or a trip to urgent care.
Preventing Pneumonia in the Future
Once you’ve had pneumonia, you know you don’t want it again. Vaccination is the most effective prevention tool. The CDC recommends pneumococcal vaccines for all adults 50 and older who haven’t previously received one. Two of the newer vaccine options (PCV20 and PCV21) are given as a single dose with no follow-up shot needed. If you receive PCV15 instead, you’ll need an additional vaccine about a year later.
Annual flu shots also reduce your pneumonia risk, since influenza is one of the most common viral triggers. Staying current on COVID-19 vaccines matters for the same reason. Beyond vaccines, basic habits make a real difference: frequent handwashing, not smoking (or quitting if you do), and managing chronic conditions like asthma, diabetes, or heart disease that increase your vulnerability to lung infections.

