Maintain a healthy diet full of lean proteins, fruits, vegetables, and fiber if you have UC. Avoid fatty, spicy foods, or anything that you've identified as a trigger food. (Lactose also tends to cause problems for people with IBD.) If you don't yet know what foods can trigger a flare, it might help to keep a food diary to track what you eat.