Gastric ulcers may present as epigastric pain after meals, periodic episodes, and can be diagnosed by gastroscopy and histopathologic examination. Gastric ulcers are characterized by chronic cyclic pain, epigastric pain after meals, and peritonitis-related signs (pressure, rebound pain and muscle tension) when the ulcer is perforated, which is often associated with poor diet, stress, Helicobacter pylori infection, and prolonged use of certain medications (e.g., aspirin), and so on. Gastroscopy can diagnose gastric ulcer visually, which can be seen as a round or oval ulcer surface on the gastric mucosa with a flat bottom surface and neat edges, and it is necessary to do histopathological examination to exclude ulcers caused by gastric cancer. barium X-ray examination can assist the diagnosis of gastric ulcers if the direct sign is a niche, and the indirect sign is a local spasm and agitation. Gastric ulcers need to be diagnosed under the guidance of a doctor, and should not be diagnosed blindly by oneself to avoid delaying the condition.