If prostatitis is severe, you might have to go to a hospital for treatment with fluids and antibiotics. Because we do not understand what causes prostatitis without infection, it can be hard to treat. Your doctor might try an antibiotic to treat a hidden infection. Other treatments are aimed at making you feel better. Nonsteroidal anti-inflammatory medicines, such as ibuprofen or naproxen, and hot soaking baths may help you feel better.
Some men get better by taking medicines that help the way the bladder or prostate gland work.
Sometimes prostatitis is caused by a sexually transmitted organism, such as chlamydia. However, most cases are caused by infections that are not sexually transmitted. These infections can't be passed on to sexual partners. Men who have had prostatitis once are more likely to get it again. Antibiotics may not get into the prostate gland well.