A 55-year-old man is evaluated in the emergency department for a 2-day history of mild nausea and dyspepsia that is worse with fasting and improved with eating. He has also had a 24-hour history of frequent black stools and fatigue. He has no history of gastrointestinal bleeding, alcoholism, chronic liver disease, bleeding disorders, cardiovascular disease, or cancer.

On physical examination, temperature is 37.0 °C (98.6 °F), blood pressure is 114/66 mm Hg, pulse rate is 85/min, and respiration rate is 14/min; BMI is 27. Abdominal examination reveals epigastric tenderness without guarding or rebound. Rectal examination identifies melena. Laboratory studies are normal except for a hemoglobin level of 7.9 g/dL (79 g/L). He is admitted to the hospital and is given intravenous fluid resuscitation and intravenous proton pump inhibitor (PPI) therapy.

Upper endoscopy identifies a 1-cm clean-based gastric ulcer.

Which of the following is the most appropriate next step in management?