Pneumonia isn’t contagious. But the viruses and bacteria that cause pneumonia can spread from person to person. They usually spread through the air when someone with an infection coughs or talks. You can also get pneumonia by touching a contaminated surface and then touching your nose or mouth.
Limit close contact with your family and friends until your fever goes away and your symptoms start to get better. If you need to be around other people, consider wearing a mask or meeting outdoors. Be sure to cover your mouth and nose when you cough and wash your hands often.
Pneumonia recovery times can be different from person to person. Some people feel better in less than a week, while others might take a month or longer to recover.
Many people with bacterial pneumonia get better within the first 3 to 5 days after starting an antibiotic. But some symptoms, like cough and fatigue, can hang around for much longer.
Many mild cases of viral pneumonia will go away without any prescription treatments. But you will need medication to treat other causes of pneumonia, like bacteria, fungi, or parasites.
You usually can’t tell if you have viral and bacterial pneumonia based on just your symptoms. Imaging tests and lab tests can help you and your healthcare team figure out what’s causing your pneumonia.
When you have pneumonia, you may want to avoid foods that will worsen congestion and inflammation. These could include:
Processed sugar (including sodas, desserts, and candy)
Alcohol
Dairy foods (like milk, cream, and butter)
High-histamine foods (like sausage, processed meats, cheeses)
Good hydration and nutrition can help improve healing and support your immune system in fighting pneumonia.