You have mentioned several issues in a single question. Chest pain, constipation, erectile dysfunction, excess smegma, recurrent urinary tract infections, and cuts on foreskin (not sure if this is from TURP). Excess smegma can be prevented by washing the area with excess warm water after retracting the foreskin. This can be cured with circumcision. Medical opinion is still split on whether circumcision is absolutely necessary, however in your situation it can help both the smegma and the cuts on your foreskin (as long as they are on the distal part). As far as erectile dysfunction, men with enlarged prostate and urinary symptoms (for which you had TURP) commonly face this problem. You should consult your urologist in this matter. There may be medications that can be changed or you can start taking medications for erections.