A 68-year-old man presents to the emergency department with melaena and dizziness. He is hypotensive and tachycardic; Hb is 78 g/L. After initial resuscitation with IV fluids and blood, what is the most appropriate next step in management of his upper gastrointestinal bleed?