Bloating and gassiness is often from consumption of FODMAP foods or foods you are intolerant to. Check out IBS/ Indigestion for insight on how to deal with this. For bloating and gassiness-safe easy to digest foods see white rice, oatmeal, bananas, broth or not included in the diarrhea section- egg whites. There are other FODMAP safe foods; consult with a dietitian if you go on the FODMAP diet.
Two herbs that are beneficial for bloating and gassiness are ginger and fennel. Ginger reduces inflammation and both herbs aid digestion. Papaya, specifically the digestive enzymes in papaya, can provide bloating and gassiness relief as well.
SOURCES