Prostatitis is swelling or infection of the prostate gland. It often hurts. The prostate gland sits just below a man's bladder and makes part of the fluid for semen. In young men, the prostate is about the size of a walnut. It usually grows larger as you grow older.