The cause of vomiting blood in patients with advanced liver cancer is mainly based on portal hypertension caused by cirrhosis or tumor invasion of portal system, which leads to elevated portal pressure and causes bleeding due to esophagogastric fundic varices. There are different treatment measures for patients with advanced hepatocellular carcinoma according to the degree of hematemesis: 1. minor hematemesis: treatment through internal medicine, such as suppressing gastric acid secretion, not eating food, using hemostatic drugs or using some drugs to control internal blood flow; 2. severe hematemesis: compression by lower three-chamber two-bladder tube, hemostasis under gastroscopy, hemostasis under intervention, etc. The specific medication should be combined with clinical and guided by the doctor’s face-to-face consultation.