When you don't let the sperm come out of your penis, it gets forced back up into your urinal tract, into your bladder. This stretches out the valve that keeps the urine inside your bladder.
Doing this all the time, creates scare tissue inside the valve, resulting in an ineffective seal for keeping the urine inside.