The reasoning: cause plus complication
Most ulcers are due to H. pylori or NSAIDs. Persistent or recurrent ulceration demands a structured review rather than another blind acid course: confirm active H. pylori, check adherence and cure, review NSAIDs/aspirin, consider smoking, malignancy, Crohn disease, CMV in immunocompromise and gastrinoma.