If you're eating beans, soak them overnight to make them softer. Keep a food diary to notice which foods give you foul gas. There's no medical reason to avoid these foods, but you might want to ...