There are a few things you can do to avoid farting in public if you’re worried about it. First, try to stay away from foods like beans, cabbage, and broccoli that are known to make you feel gas. Second, try to stay away from carbonated drinks because they can also make you feel gas. Last but not least, if you find yourself needing to fart, try to locate a private location, like a bathroom or an empty room, to expel the gas.