There is no such thing as the earliest and most effective way to stop upper gastrointestinal bleeding. Upper gastrointestinal bleeding needs different hemostatic measures according to the cause of bleeding, which is mainly divided into esophagogastric fundic variceal bleeding and non-variceal bleeding. 1. Esophagogastric fundal variceal bleeding: the bleeding volume of this disease is large, and the hemostatic measures include medication, endoscopic treatment, and hemostasis by balloon compression, etc. The hemostatic drugs are vasoactive drugs. The hemostatic drugs are vasoactive drugs, such as growth inhibitor, octreotide, terlipressin and pituitary pressor. Endoscopic hemostasis can be used urgently for patients with bleeding below moderate level. In case of hemorrhage with ineffective drug treatment, triple lumen and double capsule compression can be used temporarily to stop hemorrhage. 2. Bleeding from non-varicose veins: bleeding from peptic ulcer is the most common. Measures for hemostasis mainly include inhibition of gastric acid secretion, endoscopic treatment and interventional therapy. Inhibition of gastric acid secretion can improve gastric PH value and enhance the hemostatic effect, commonly used drugs are omeprazole, lansoprazole, pantoprazole and so on. For those at high risk of rebleeding and persistent bleeding, hemostasis can be achieved by endoscopic injection of drugs, electrocoagulation, and use of hemostatic clips. If endoscopic hemostasis is unsuccessful, the gastroduodenal artery can be embolized by vascular intervention. In case of upper gastrointestinal bleeding, one should go to the hospital immediately for early treatment under the guidance of a professional physician to avoid delay and life-threatening conditions.