What happened to the stomach cramps before defecation?

There will be bowel movements before defecation, such as the emergence of stomach cramps considered as stool stimulation of the intestine, causing intestinal peristalsis and further lead to intestinal spasm caused by the following possible cases: a. If the abdominal pain before the stool, relieved after the stool, a long duration, no change in stool properties, such as no deformation of the stool, thinning, duckbill-shaped, does not contain mucus or pus and blood, and there is no wasting, weakness, anemia and other symptoms, consider the possibility of intestinal dysfunction, by Improve your lifestyle, regulate your mood, improve your diet, and drink yogurt appropriately to supplement intestinal probiotics to deal with it. If the effect is not good, further hospital consultation is needed to improve the relevant auxiliary examination to exclude organic diseases. If there is abdominal pain before stool, and there is a change in stool characteristics, such as deformation, thinning or containing mucus and pus and blood, and the stomach pain does not ease after stool, regardless of whether there is wasting, anemia and other symptoms, then consider the possibility of combined intestinal inflammation or tumor, it is recommended to go to the hospital in a timely manner, so as not to delay the diagnosis and treatment of the disease and miss the best time for treatment.