Eat a wider range of vegetables, fruits, grains, and legumes over a week, rather than the same few repeatedly.
Add more fiber-rich food a little at a time, since a sudden jump often causes discomfort.
Include a fermented food you enjoy, like yogurt or sauerkraut, as one part of regular eating, not a fix.
Notice how much of what you eat is heavily processed, and look for a few small, realistic swaps.
If digestion has been genuinely off for a while, that's worth raising with a doctor, not just diet changes.