Coordinating your diet with IBS can take some time and effort, but it's often worth it. A good measure is to reduce the consumption of dairy products, fatty foods, sugar and gas-forming foods such as onions, beans and cabbage. It can help relieve various IBS symptoms. The so-called FODMAP diet has been shown to alleviate symptoms in some. FODMAP is a diet where you eat foods that contain little or none of the carbohydrates that the intestine has difficulty breaking down. Talk to a dietitian if you want to try eating according to FODMAPs.