UTIs typically clear up within 7-10 days of starting treatment. You should start to notice a gradual improvement in your pain and other symptoms.
If you don't notice any improvement within this time frame or your symptoms are getting worse, talk with your doctor.