Treatment will depend on the type of prostatitis diagnosed. For bacterial prostatitis, a course of antibiotics is required, which can last for 2 months in the case of chronic bacterial prostatitis. An attack of acute bacterial prostatitis may require intravenous antibiotics and can involve a stay in hospital. Any cause of recurrent bacterial infections, such as an enlarged prostate gland, should be treated, and you should visit your doctor for advice.
In some cases for 'pelvic pain syndrome,' alpha-blockers may be used to relax the muscles in the prostate and bladder neck to reduce the resulting pressure within the prostate and on the urethra (see BPH treatment - medications).
Other treatments for prostatitis can include pain relief with non-steroidal anti-inflammatory medications (NSAIDs), prostatic massage (having one's prostate massaged via digital massage, utilising a gloved finger) and Sitz baths (warm water therapy to relax muscles in a hot water bath). Details of these and other treatments can be found here