This is called Prostatitis
3 years is a long time to suffer. You should get the following investigations done- to be done by a General Surgeon
or an Urologist
is a part of the treatment and diagnosis. you get a fluid for testing, culture sensitivity.
Blood including PSA to see there is no Cancer.
Biopsy in suspected cases of cancer.
CT scan to evaluate the genitourinary system.
Gold Quantiferon test for Tb
One the investigations are done a proper diagnosis is possible.
Only a proper diagnosis can tell us the most proper treatment for you to get a correct treatment.