Pyloric ulcers have no more than a 1% chance of becoming cancerous, depending on the condition. Pyloric ulcer is a specific type of gastric ulcer that can become cancerous, with a small chance of not more than 1%. However, the most common complications are bleeding, perforation, and pyloric obstruction. The principle of treatment is to inhibit acid, promote gastrointestinal dynamics, and protect gastric mucosa. Commonly used acid-suppressing drugs are proton pump inhibitors such as omeprazole, promoting gastrointestinal dynamics are domperidone, and protecting gastric mucosa are aluminum thioglycollate. If combined with Helicobacter pylori infection, quadruple therapy with proton pump inhibitors, antibiotics such as amoxicillin and metronidazole, and bismuth is needed. Due to different degrees of gastric mucosa damage, people with pyloric duct ulcers should pay attention to a light diet and avoid spicy stimulation and other indigestible foods. When scarring pyloric obstruction occurs, it should be treated surgically. It is recommended that people with pyloric ulcer should take medication as prescribed by the doctor, have regular gastroscopy review, and seek medical treatment promptly if there is any discomfort.