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. There are several types of prostatitis. They vary based on how long a man has had the problem and what kind of symptoms he has.