Gastric retention may result in black stools, but black stools may also be related to poor diet, gastrointestinal bleeding, and other factors, and should be promptly checked in the hospital. 1. Gastric retention: generally due to gastric retention caused by the accumulation of substances in the stomach can not be emptied in time, so there is a thin paste or even black stools, the patient can be relieved by the use of mosapride tablets, metoclopramide tablets and other medications, the patient should be stopped if there are nausea, dizziness and other adverse reactions, should be discontinued in a timely manner. 2. Poor diet: it may be because the patient consumes too much dark-colored food, such as pig’s blood, animal liver, dragon fruit, etc., which leads to black stools, the patient can improve the situation of black stools by adjusting the diet. 3. Gastrointestinal bleeding: usually due to the patient’s upper gastrointestinal bleeding, blood in the intestinal tract stays longer, which leads to black stools, the patient can be treated by using Esomeprazole tablets, rabeprazole and other medications, allergic to the drug ingredients are prohibited. Black stool may also be related to other diseases, it is recommended that patients go to the hospital in time for diagnosis, treatment under the guidance of doctors, not blindly use their own medication.