Recently was given Bactrim for a possible UTI but I also was possibly exposed to an STD before starting the medication. My symptoms were a dull pain in the lower abdomen, slight pain in testicles, urination was not normal, and possible prostate issue. Doctor said it could have been a bacterial infection. Maybe for an STD? After the course of Bactrim was finished, I got tested for STDs and came back negative. Would it have been possible that Bactrim would have treated the STD?