Iron pills

So i started taking iron pills but now my poop is black. When should i stop taking them?