Sudden stomach pain is related to stomach spasm, improper diet, gastric perforation and other factors: 1, stomach spasm has more reasons for the onset of seizures, seizures are to the smooth muscle of the stomach wall appears strong contraction, spasm as the main manifestation, the patient will appear sudden stomach pain, pain is more intense in nature but the duration is not particularly long. It can be relieved by massage, hot compresses and belladonna tablets.2. Some people who have sudden onset of stomach pain appear in the process of eating and drinking, and need to be vigilant because of dietary inappropriateness. If you eat irritating food, such as chili peppers and garlic, the irritating substances in the food will cause irritation to the mucous membrane of the stomach wall, which will cause sudden gastric pain.3. Patients with gastric ulcers have sudden gastric pain, and the pain is more intense in nature, which needs to be guarded against being caused by gastric perforation. Gastric perforation is related to the deepening of the degree of ulceration and the invasion of the whole layer of the gastric wall, and part of the stomach will enter the abdominal cavity because of the contents of the stomach, causing the invasion of the internal organs, which will be accompanied by fever and other manifestations of the body.