How long a patient can live with gastric bleeding from gastric cancer depends on the actual situation of the patient. 1. If the patient’s bleeding is small and only manifests as positive fecal occult blood test or black stool, it is mainly due to the bleeding from ulcer of gastric cancer, which will not affect the patient’s life much after stopping bleeding with symptomatic hemostatic treatment. 2. If the bleeding is large, vomiting blood and blood in stool appear at the same time, and the patient’s blood pressure drops, hemorrhagic shock such as panic and weakness may endanger the patient’s life at any time, the prognosis is poor. Bleeding is a common complication of gastric cancer patients, and serious bleeding can endanger patients’ lives at any time. Therefore, in order to prevent bleeding, patients with advanced gastric cancer should pay attention to soft food as the main diet to avoid bleeding caused by eating hard or fried food, and avoid eating spicy and stimulating food, drinking coffee and strong tea, etc. Once the symptoms of darkening stool or vomiting blood or blood in stool appear, they should seek medical treatment in time.