Prostatitis is swelling and inflammation of the prostate gland, a walnut-sized gland situated directly below the bladder in men. Prostatitis often causes painful or difficult urination.