I am no doctor. But in my experience, healthy eating with much fibers helps with that. Anything with much sugar or much carbs like soft drinks or white bread make it worse. Its a really compex topic, so if you have problems with it go either to a doctor or google and Experiment by yourself, but watch out for potential scams like food supplements.
Good luck