does anyone know what causes inflammation of the prostate?

last week i went to the doctor because i kept going to the bathroom and when i went to the doctor, he sticked his finger up my butt and told me i had my prostate inflamed.

i asked him what causes it. he started to ask me questions and it turn out that i got it from an infection.

during this time, i was having love with this girl, and after love i wasn't washing my thing..