@Denardis hits the nail on the head. Recovery is unpredictable. Your pre-op health and continence, tumour size and position, level of nerve sparing, surgeon skill and experience, and luck all play a part in how the dice fall.
I'm five years out from surgery and incontinent. Period.
Kegels and medication didn't help in my case, and I won't consider a sling or AUS procedure. I had a pulmonary embolysm after my prostatectomy which left me with breathlessness, chronic fatigue and brain fog. I won't risk another surgery, so absorbent pads are a part of my life now.
Regarding kegels, @Mistered, they may not work for you, but they have no adverse side effects. Better to give them a go before you think about medication or surgery, which each carry their own risks.