Prostatitis is inflammation of the prostate gland, which produces a fluid found in semen. The inflammation may spread to the area around the prostate. Causes include bladder infection, STDs, and injuries to the prostate.