An upset stomach can hit anyone, anytime. It can be triggered by stress, a heavy or very oily meal, a virus. Sometimes it happens for no reason at all — your stomach feels off, and you feel gassy, uncomfortable and miserable.

Taking an anti-diarrhea pill won’t actually help, because sometimes you just need to let your body flush out whatever’s causing the upset stomach. However, some food can help relieve your discomfort and even aid digestion. Here are 12 kinds of food that you should always keep in your pantry to help deal with those emergency tummy troubles.

Ginger and ginger tea

A staple in traditional Chinese medicine, ginger can help ease your nausea and alleviate bloating. It makes you instantly more comfortable, while stimulating stomach contractions so your body flushes out the toxins faster. Ginger tea powder or sachets may help, but fresh ginger tea — made just by boiling ginger slices — is more effective. If you can’t stand the strong sharp taste, add lemon and honey.

Turmeric

This anti-inflammatory can help relieve bloating and inflammation in your gut. You can take turmeric tea, or turmeric supplements — which, by the way, can also help fight cholesterol, diabetes and heart disease.

Chamomile tea

Not everyone likes the strong taste of ginger or turmeric tea. This milder tea also has anti-inflammatory properties. Add a bit of lemon to freshen up the taste, but avoid putting too much sugar — the last thing you need when you have nausea and stomach pains is the headache that comes after a sugar crash.

Bone broth

When you’re tummy’s acting up, reach for a hot bowl of clear bone broth. We actually recommend having this regularly, since it’s packed with minerals and amino acids that can reduce inflammation. But when you have an upset stomach, the gelatin caused by the breakdown of collagen in the bones can help your digestion.

Green bananas

Yes, they need to be unripe. These contain starches that your body can’t digest, so it signals the body to retain more water to digest it. This helps balances your digestive system when you’re experiencing diarrhea. Plus, bananas contain nutrients that can help prevent headaches and dizziness often caused by dehydration.

Applesauce

Can’t find green bananas? Try to get your hands on a jar of applesauce. It contains plant fibers that can also help prevent diarrhea, with the added bonus of supporting good bacteria in your gut. If you can’t find applesauce, peel an apple and then blend it with a little water. You get the nutrients, but it will be easier to digest and absorb.

Yogurt

Don’t get those fancy fruit yogurts — the sweeteners can actually make your stomach pains worse! Plain, simple organic yogurt is the best. It contains probiotics that promote gut health. Actually, if you often feel bloated or gassy, taking a cup of plain yogurt a day can help prevent stomach troubles.