As gas passes through the large intestine, bacteria produces sulfur that attaches to the molecules. The end result is the release of an unpleasant smell. Passing gas often can cause a person to have social anxieties. It is also embarrassing in intimate situations. If you have a gas problem, the best way to go about solving it is to change your diet.
Monitor your intake of "roughage" fruits that contain a lot of fiber, such as pears and apples. If you must eat an apple but you don't want gas, peel off the skin. That is where most of the fiber is located. The sugar in fruit is also a major cause of gas.
Reduce the amount of beans and cabbage you eat. These two types of food contain oligosaccharides (a type of sugar). The odor-causing bacteria in the intestines feed on this substance and multiply, which causes you to have more gas (which also tends to smell worse than usual).
Watch your intake of leafy green vegetables like broccoli and spinach, as well as onions, radishes and artichokes. These stimulate movement in the intestines and can increase the occurrence of gas.
Eliminate fatty foods from your diet. This includes fried foods like french fries, bacon and fried chicken. The fat can disrupt digestion and cause gas to build up in the intestines.
Try a meat-free diet. When digested, meat (especially read meat) sits in your colon for a while, creating an abundance of the bacteria that causes bad-smelling gas.
Cut down on drinking regular milk and eating dairy products. You could be lactose intolerant. Drinking milk when you are lactose intolerant can cause you to pass gas frequently.