Its also how you eat.
Changing your eating habits could help cut your risk of digestive illnesses:

Take meal times seriously.
Treat them as sections of the day in their own right, not things to be slotted in around work.

Take your time.
Eat slowly to give your system a better chance of digesting the food. Sitting upright will also help. Sip drinks to avoid swallowing air.

Chew well.
This releases enzymes that aid thorough digestion.

Eat early.
A good breakfast kick-starts your metabolism for the day, while overloading the digestive systems late at night can lead to bloating.

Don't miss meals.
A lack of food in the system can cause excessive gas.