Gastric ulcer may cause localized stiffness in the abdomen, it is recommended to go to the hospital for timely examination and early treatment once diagnosed. Gastric ulcer is a common digestive disease, manifested by pain in the upper abdomen, nausea and heartburn, etc. If the condition worsens or treatment is not timely, it may lead to gastric bleeding, gastric perforation, etc. Ulcers can penetrate the stomach wall, making the stomach contents overflow into the abdominal cavity, causing peritonitis, leading to abdominal muscle tension, localized stiffness of the abdominal wall, etc. Surgery is required to alleviate the symptoms. Gastric ulcer patients will appear in the abdomen local hardness of the situation, need to take some medication under the guidance of the doctor, commonly used are omeprazole, rabeprazole, thioglycollate and other drugs for treatment, and at the same time need to pay attention to dietary problems, do not eat spicy stimulating food. Need to pay attention to, the symptoms of gastric ulcer, to timely go to the doctor for treatment, follow the doctor’s instructions for treatment, do not blindly use drugs.