A 45-year-old man presents with a 3-month history of intermittent epigastric pain, worse after meals and at night. He occasionally uses ibuprofen for headaches. An H. pylori breath test is positive. He has no alarm symptoms. What is the most appropriate initial management?