Though it may not be the most comfortable thing, sometimes the situation calls for it! Holding in your farts every now and then shouldn’t cause any issues. But in general you should allow your farts out to allow your digestion system to do its thing.