I have IBS. It used to be much worse. My main triggers were fairly obvious - red meat and mushrooms in particular.
Since I’ve been eating mostly veggie it’s been much better, and I never touch mushrooms. Onions, peppers and garlic are notorious triggers but I tend to get away with them in the main. Fizzy drinks are bad for me.
As pp said the FODMAP diet and then slowly introducing things is considered the best. If you don’t want to start to extreme though you could just try keeping a food diary and tracking symptoms/ fartiness to see if there’s any obvious patterns and you might be able to make some smaller adjustments.
Also drink peppermint tea/ take peppermint capsules.
Have to say gluten/ wheat is definitely a trigger for my husband’s fartiness. Bread in particular.