Farts are a natural occurrence and it is not possible to stop them entirely.
However, stinky and smelly farts cause embarrassment if you are in a public place. Though it is not possible to stop stinky farts, you can take measures to ensure that they do not smell bad.
Apple cider vinegar reduces the number of harmful bacteria in your food and therefore if you take a teaspoon of natural apple cider vinegar with a glass of water, your farts will become odorless in about half an hour. This is a proven method of making the farts smelling foul and you should indeed try it.
The human body contains around 100 trillion bacteria and these can either be good or bad bacteria. If you take Probiotics on a regular basis, this is likely to kill all the bad bacteria which in turn feed on carbohydrates in the body and result in the production of the foul smell in the body.

Digestive enzymes help in breaking the proteins in the body and thus keep you healthy. If you take digestive enzymes on a regular basis, the gas formation will not take place in the body and thus no farts will occur.