Sometimes surgery can improve or cure incontinence if it is caused by a problem such as a change in the position of the bladder or blockage due to an enlarged prostate.