What to Eat When You’re Sick

Klein is a contributor for TIME.

Whether you’re struggling to swallow with a sore throat or can’t keep anything down with a stomach bug, eating isn’t always your top priority when you’re under the weather.

But “our bodies actually need nourishment when we're sick, so don't avoid eating,” says family physician Dr. Shannon Dowler, a board member of the American Academy of Family Physicians.

In many cases, simply eating whatever appeals to you in the moment is enough to make sure you’re getting at least some nutrients and plenty of fluids. But if you can handle it, there are some specific foods that might actually ease your symptoms.

Here’s a guide to what to eat when you’re sick, tailored to whatever is ailing you.

Stomach bug
With an upset stomach, diarrhea, vomiting, or a combination of all three, you probably don’t feel very hungry or thirsty when you’ve got gastroenteritis. The problem is it’s easy to get dehydrated, says registered dietitian and certified specialist in oncology nutrition Amy Bragagnini, spokesperson for the Academy of Nutrition and Dietetics. Dehydration can be dangerous and may result in headaches, fatigue, dizziness, and other unpleasant symptoms, according to the Cleveland Clinic.

Bragagnini suggests getting plenty of water, coconut water, or electrolyte drinks while you’re battling a stomach bug. Start slowly, and add more liquids as you can tolerate them. “Take sips and spoonfuls rather than gulping large quantities of liquids,” Dowler says.