Excessive flatulence is generally caused by bacteria that live in the intestines. You can cut down on gas by avoiding foods and drinks containing these sugars. Cabbage, beans and onions are examples. The amount and makeup of intestinal bacteria also varies from person to person. Remedies are available for most causes of excess flatulence. In most cases the obvious solution is a change in diet.