Peptic ulcers form in the lining of the stomach, esophagus, or duodenum due to erosion caused by gastric acid. Risk factors include H. pylori bacteria, NSAIDs, smoking, alcohol, and stress. Diagnosis involves endoscopy, stool tests, or a urea breath test to detect H. pylori. Treatment consists of antibiotics, proton pump inhibitors, and lifestyle changes. Complications include hemorrhage, perforation, and gastric outlet obstruction. Nursing care focuses on pain relief, nutrition, anxiety reduction, and monitoring for complications.