That's a possible sign of Colitis and the dog should be brought to the Vet for treatment as soon as possible.
There are many reasons that can be happening and your vet is the best one to tell you why. Make sure your pup gets plenty of water because you don't want the poor thing to get dehydrated.