Eat a high-fibre diet with whole grains, fruits, vegetables, beans, nuts and seeds. Avoid processed foods low in fibre. Some find limiting dairy, red meat, fat and sugar beneficial.