If black color of stool occurs after taking rivaroxaban, the drug should be stopped or adjusted in time, and fecal occult blood and gastroenteroscopy should be performed. 1. Stop taking the medicine in time: there is a risk of bleeding after taking rivaroxaban, and the black color of stool may be caused by gastrointestinal bleeding due to taking rivaroxaban, at this time, the medicine should be stopped, and then the color of stool should be observed to see whether the color of stool returns to normal. 2. Adjustment of medication: If the color of stool returns to normal after stopping the medication for a period of time, it means that the black color of stool is caused by taking rivaroxaban, and it is necessary to adjust the medication and change to other medication. 3. Fecal Occult Blood Test and Gastroenteroscopy: If the color of stool is still black after stopping rivaroxaban, it is necessary to do fecal occult blood test and gastroenteroscopy to clarify the specific cause of gastrointestinal bleeding. When the stool becomes black after taking rivaroxaban, it is necessary to pay attention to it, go to the regular hospital in time, and follow the doctor’s instructions to avoid delaying the condition.