they have over the counter pills that help with the spasm feeling from UTIs. If you have an actual infection, you will need antibiotics. If you dont have bacteria, then its spasms, and the urine MD will need to evaluate you.
I cant remember the name of the meds. I am sure someone will chime in.
Feel better, get rest. lots of rest.