Prostatitis is inflammation of the prostate gland. Acute prostatitis is inflammation that suddenly causes symptoms such as painful or difficult urination. When symptoms start gradually and linger for more than a couple of weeks, the condition is called chronic prostatitis. Prostatitis can be caused by a bacterial infection. Some of these bacteria are the normal germs that live on and inside your body. Other infections are transmitted through sexual contact.