Another risk of this operation is erectile dysfunction. Most men who undergo this operation will have problems with erection and may also become impotent. As time passes, though, the erectile dysfunction may improve, especially in men who undergo nerve-sparing operation. It may take up to two years to know whether erectile functioning will recover.