May be an internal bleeding
Or
If no pain and nothing other symptoms then may be due to previously taken food (like beetroot, artificial food colours in cake pastries etc) created such a colour to stool.
Next Steps
Need details for diagnosis
Health Tips
can wait for a day..and observe...
if not correcting Check up with a nearby Doctor