transurethral resection of the prostate

How transurethral resection of the prostate is being used?