For patients with acute or chronic bacterial prostatitis who do not respond favorably to antibiotics, transrectal ultrasonography and sometimes cystoscopy may be necessary to rule out prostatic abscess or destruction and inflammation of the seminal vesicles.