Causes of stomach pain and farting include eating too much too fast, irrational diet structure, gastritis and so on. 1. Eating too much too fast: when patients eat too much too fast, they will take in too much gas at the same time. If the food is not chewed and crushed too much before flowing into the stomach, it will increase the burden on the stomach and damage the gastric mucosa for a long time, resulting in stomach pain; excessive gas intake will flow with the food in the gastrointestinal tract and be discharged through the exhaust, which will be manifested as a stomach ache with a total fart. 2. Unreasonable dietary structure: when the patient likes to eat potatoes, soybeans, tofu and other foods that are easy to produce gas, the decomposition of such foods in the body will release excessive gas, which will continue to stimulate the gastric mucous membrane nerve endings, resulting in stomach pain; the gas will not be absorbed by the body and will be discharged through the form of burping, farting and other forms of body. 3. Gastritis: when the patient suffers from gastritis, the digestive function of the stomach is disturbed, on the one hand, the gastric mucosa is very easy to be stimulated and aggravated by the damage of pain and discomfort; on the other hand, indigestion, staying in the gastrointestinal tract for a long time will be fermented out of the gas, intestinal exhaust increased, farting increased. There are many other causes of stomach pain and farting, when patients have stomach pain and farting, they must improve their poor dietary habits, and do the stomach related examination, to exclude organic lesions.