A 58-year-old man is evaluated for a 6-month history of episodic epigastric abdominal pain. In addition, his wife was recently diagnosed with Helicobacter pylori infection, and she is concerned that he may be infected as well. His epigastric pain occurs on most days and may occur several times during the day. He characterizes it as a vague discomfort that does not affect most activities. The discomfort is not closely related to eating, but he has been eating less. The discomfort typically resolves spontaneously within 30 to 60 minutes, but it has been occurring more frequently. He has also noted occasional nausea without vomiting. His weight is 2.3 kg (5.0 lb) lower than it was 1 year ago at his last appointment. Family history is negative for gastrointestinal malignancy.
On physical examination, blood pressure is 138/79 mm Hg, and pulse rate is 80/min. Other vital signs are normal. BMI is 35. Abdominal examination reveals generalized tenderness to deep palpation but no palpable mass.
Laboratory studies reveal a hemoglobin level of 12.5 g/dL (125 g/L) and a mean corpuscular volume of 94 fL.
Which of the following is the most appropriate management?