Even when you’re healthy, you need lots of fluids to stay hydrated. But they’re extra important when you have pneumonia, because they help loosen the mucus in your lungs. That way, you can get rid of it when you cough. Your best options include water, warm tea, and broth-based soups, like chicken soup. Stay away from caffeine and alcohol, though. They can dehydrate you.