Many things can happen if the urinary system doesn't function properly.
It all depends on how bad it is, but basically if your kidneys don't function properly your body will retain water and your blood, liver amongst other things can not get rid of toxins. If it's where a person doesn't urinate then dialysis will be needed immediately or the immune system will eventually breakdown and lead to other complications.