The prostate can get infected or inflamed. This could cause pain in the pelvic area as well as pain during urination or ejaculation.