Chil1234 has some really good advice but might I add that different things work for different people...
Beans, lentils etc don't actually make me fart more but they do with alot of people (like my Dad, lol)
Onions and garlic, however seem to affect me.
Fibre is a funny one - you need enough to move everything along so it doesn't stick around, ferment, and give you gas, but not so much that it irritates the gut, which also gives gas.
If you don't much fibre, increase it very slowly and that will help move everything through, hopefully reducing gas. If you do eat loads of fibre, then maybe try reducing it for a bit and see how you are then, unless it causes you to get constipated of course.
I find anything with ginger or mint in it helps, so perhaps sip ginger or mint tea or nibble crystalised ginger after a meal.
Do you find that it's worse if you eat alot of milk products? Because lactose intolerance is really common and gives bad wind. Maybe cut out dairy for a week or two and see if it helps?
If you also get lots of bloating, pain, loose stools, then it's worth giving a sample to your Dr to rule out infections, malabsorption, or inflammation.
Good luck!