You could have blood in your stool. See your doctor.
Black color of blood either during pregnancy or without pregnancy indicates old blood. If you are pregnant then any bleeding is not good sign. It can be due to miscarriage. You should visit a doctor immediately. It will be good to visit a hospital rather than visiting a doctor.