This document discusses haematemesis and melaena, which refer to vomiting and passing black tarry stool containing blood from the upper GI tract. Haematemesis with bright red or dark coffee ground blood requires emergency care. Melaena results from oxidation of iron in haemoglobin as it passes through the lower GI tract. Upper GI bleeding has an annual incidence over 100 per 100,000 people and increases with age. Risk factors include NSAID use and hospitalization for other conditions. Patients may experience vomiting blood, black tarry stool, hypovolemic shock, lethargy or abdominal pain. Initial treatment involves stabilization, blood transfusion, risk assessment and endoscopy after stabilization.