What should I do if my stomach hurts when I have a bowel movement?

Abdominal pain during bowel movement is often seen in gastrointestinal dysfunction, constipation, colitis, etc., which needs to be relieved by general treatment and medication according to the cause. 1. Gastrointestinal dysfunction: it may be caused by dietary factors and mental and psychological factors, we should pay attention to adjusting the diet, and with lactobacillus, bifidobacteria and other intestinal flora. If the abdominal pain is more obvious, you can take belladonna tablets, scopolamine to relieve the symptoms. 2. Constipation: it may be caused by less intake of crude fiber food, pay attention to drink more water, eat more vegetables and fruits, promote intestinal peristalsis, you can also take mosapride, domperidone and other drugs to promote gastrointestinal power. 3. Colitis: it may be induced by excessive fatigue or improper diet, we should pay attention to adjusting the diet to light, easy to digest food, avoid eating greasy, spicy and irritating food. If there is obvious bacterial infection, oral norfloxacin and levofloxacin can be taken. Abdominal pain during bowel movement may also be caused by other reasons, if the symptoms continue to be unrelieved, you should consult a doctor in time to find out the cause, and then carry out targeted treatment under the guidance of a professional physician.