Hi welcome to health care magic forum. what you are facing is a renalcolic, either due to
kidney stones, or
urinary tract infection, like
cystitis, urithritis, etc. Either of these will have the same symptoms.
Usually this wont take this much of time for recovery, if treated with correct drugs.
Bactrim is a narrow spectrum drug with possible resistance. As there is already a history of expulsion of the stones, it should be a urithritis due to damage of urithra while stone is passing out.
I advise you to consult an
urologist, for diagnosis, investigations, and treatment. you may need to get the urine examination,
ultrasound scaning, to find if some more stones are present in the kidney or uriter. and if necessory urine culture and sensitivity tests for the confermation of the disease.
dont worry you will be fine with correct line of treatnment, in a couple of days. thank you very much for calling.