Black stools and gastrointestinal bleeding can be treated with general treatment or medication under a doctor’s supervision. 1. General treatment: black stools and gastrointestinal bleeding may occur in severe cases of gastrointestinal diseases. At this time, the patient should be fasting and resting, bed rest, oxygen inhalation, and closely monitor the patient’s vital signs, such as heart rate, blood pressure, respiration, mental changes, etc., and observe whether the black stools have improved or not. 2. Medication: When gastrointestinal bleeding occurs, hemostasis should be carried out in a timely manner, and drugs such as octreotide, ranitidine and famotidine can be used under the guidance of doctors. Improper use of these drugs may lead to intestinal discomfort and other symptoms, patients need to follow the doctor’s instructions for use. Patients are advised to go to the hospital for treatment in time to avoid excessive bleeding and shock. Patients should correct bad habits and have a timely review.