Depends on the cause. Eg, if bacterial, same treatment as Chlamydia - Antibiotics for 14 days will clear it up. For what it's worth I just found out today that I have it. My Doc is an authority on AAS and has told me that AAS users are prone to prostate infections as the meds will enlarge the prostate, making it prone to infections - particularly when coming off as you out of balance, including your immunity.
Symptoms for me were: slight urine discharge, tingling sensation in the penis and a "stringy" content in my urine sample which looks like a small string of sperm. (I saw it today after I gave the Doc my Urine sample). I also had urgency to urinate, but no blockages or issues with the stream. However, I have had this before, around 8 years ago (when I came off DHEA 100MG every day for 3 months) and the symptoms were different - I had the urge to urinate frequently, but when I went I couldn’t go! That time I had none of the symptoms I have this time, like discharge or tingling in the shaft etc.
So, the symptoms can be very complex and are similar to many other conditions including STD's (I was tested and clear!). Just get yourself checked out as the treatment will fix you up ASAP and put your mind at rest. Also, prostatitis does not cause prostate cancer, but again symptoms are similar.