When your body feels out of whack, certain foods can help set you back on the right track.

Hippocrates had it right when he said, “Let food be thy medicine and medicine be thy food.” When your body feels out of whack, certain foods can help set you back on the right track.

1. When you have a headache
Eat: Moroccan lentil soup made with spices like turmeric and cinnamon. “This meal is free of potential headache triggers like dairy, cured meat, nuts, and chocolate. Plus, it also doesn’t require chewing, which can aggravate a headache,” says Cynthia Sass, RD, author of Slim Down Now: Shed Pounds and Inches With Pulses – The New Superfood. The soup also delivers a good dose of protein, anti-inflammatory spices, and magnesium – which helps relax blood vessels to ease headaches. Here’s how to survive the 8 different types of migraine 

2. When you have sinus pressure
Eat: anything spicy – the heat in chili peppers can help clear up types of sinus inflammation, according to research from the University of Cincinnati Academic Health Center. Check out these 13 conditions you think you have but probably don’t

3. When you have a sore throat
Eat: soup made with a hot, thin broth (either vegetable- or chicken-stock base), with garlic, herbs, and vegetables; plus hot green tea with honey. For starters, both hot liquids will help drain congestion, Sass explains. “The garlic is anti-inflammatory and immune-supporting, the vegies provide nutrients for healing, and honey has been shown to help ease the pain from a sore throat,” she adds.

But try and avoid these 11 trusted home remedies that will only make you worse

4. When you have nausea
Eat: bananas, steamed brown rice, apple sauce and ginger tea, Sass suggests. Each of these foods is easy to keep down and tends to soothe the digestive system. Opt for tea bags with real ginger in it (like Yogi Ginger or Tazo Green Ginger) or better yet, steep some of the herb fresh in hot water. A University of Rochester study found that as little as a quarter of a teaspoon of ginger cut nausea by 40 percent in queasy chemotherapy patients. Be on the lookout for these 10 pains you should never, ever ignore 

5. When you have fatigue
Eat: There isn’t a one-size-fits-all remedy for this one, since the fix largely depends on the cause of fatigue. Your best bet? A leafy green salad topped with chopped vegetables and grilled salmon to give a boost of vitamins, minerals, and omega 3s, which will in turn increase your energy. Be sure to hydrate, since dehydration alone is enough to slow your energy down, says nutritionist and health coach Emily Littlefield, founder of Emily's Powerfoods Living. If the fatigue is from a lack of sleep, avoid caffeine. “It may seem counterintuitive, but the temporary Band-Aid of coffee or an energy drink will only provide a brief false sense of energy, usually followed by even more intense fatigue, then trouble sleeping, which perpetuates the cycle,” Sass explains. Persistent fatigue is also a symptom of one of the 13 common illnesses that have been linked to Alzheimer's 

6. When you have menstrual cramps
Drink: a pot of hot ginger tea with a little honey and lemon. “Ginger root is soothing and calming and has been used for healing stomach pain for centuries,” says Littlefield. A study in the Journal of Alternative and Complementary Medicine found that ginger was just as effective in relieving menstrual cramp pain as ibuprofen (whoa!). Plus, proper hydration can help reduce tension in certain muscles that contribute to menstrual cramping. Check out these 9 surprising postmenopausal health risks you can’t ignore 

7. When you have constipation
Eat: oatmeal topped with fibre-rich fruit and a mug of hot water with lemon. The goal here is to get your stool moving. “The fibre from the oats and fruit helps to soften stool,” Sass explains. “The drink will help stimulate your digestive muscles to contract and move waste through.”

Constipation is also one of the 9 silent signs of a thyroid problem you may be ignoring

8. When you have diarrhoea
Drink: a sports drink or Pedialyte, to start, Sass suggests. “The top goal is replacing fluids and electrolytes while diarrhoea is active,” she says. Once it stops, continue to rehydrate, but start eating foods that are easy to digest, like bananas and brown rice. If you eat your usual fare, it can overstimulate digestive muscles or trigger unwanted inflammation or irritation, she adds. Also, did you know you've been using the toilet wrong all this time?

9. When you have brain fog
Eat: two eggs any style; a whole-grain, low-sugar waffle; and cup of black coffee. Countless studies have found that caffeine improves both alertness and attention. Between eggs and the waffle, you’ll score the perfect balance of fat, protein and healthy carbohydrates to help avoid blood sugar dips that make you feel foggy. It’s the age-old debate: Which is better: coffee or a nap?

10. When you have stress
Drink: a combo of chamomile and mint herbal teas. Refill indefinitely until you feel the hot drink calm your nervous system, Littlefield suggests. Avoid anything high in trans fats or in sugar, which a study in the journal Psychoneuroendocrinology found can exacerbate other health problems that accompany stress, such as oxidative damage and the accumulation of abdominal fat, which can make you feel even worse than you already do. Next, check out these top 53 comfort foods that make you feel better every time.

This article first appeared on Reader’s Digest.