Eating enough fibreand doing regular exercise can help prevent constipation and keep your bowels working well, which will prevent some forms of abdominal pain. It will also reduce your long-term risk of some diseases, such as diverticular disease or bowel cancer. Drinking plain water — but not carbonated or fizzy drinks — will reduce the chance of pain from bloating as well as keeping your body healthy. Following a specific diet can help reduce pain due to lactose intolerance, gallstones, irritable bowel syndrome and trapped gas, or wind.