How can you train your body to not go to bathroom while running?

Each time I go on my daily 10 mile run, I have to stop 3-4 times to use the bathroom (mostly #1). I always go before the run but it doesn't seem to matter.

I want to run a marathon but I'm worried I'll be stopping like 10 times.
4 answers 4