If you are otherwise young and healthy, this is most likely local blood you are seeing.
I would expect that it is bright red blood, and not maroon or black (digested) blood from higher up. It can be quite shocking to see this, but can be caused by simple things such as low-fiber diet and exertion. Start with preparation h cream & suppositories. See your fp if it doesn't resolve in 2 days.