The researchers will investigate whether erythromycin infusion is better than gastric lavage prior to emergency endoscopy to improve the quality of examination in patients with upper gastrointestinal bleeding.