Is Prostatitis because of UTI treatable

Patient: I am suffering from Prostatitis because of UTI ….. have taken antibiotics course recommended by doctor for 3 months … Even after three months it isn’t controlled . When I stop the medicine the pain erupts again with other symptoms – urge to urinate again & again ..pain in testiclesQuestion is Whether Prostatitis is treatable or it is for lifetime ?

Symptoms: Urge to urinate again & again
pain in testicles
vomiting sensation
pain in stomach area