How to completely get rid of a uti

I had a uti a week 1/2 ago I got a shot and antibiotics for 10 days. I finally finished the medicine last Wednesday. All the back pains, fever, and cramps are gone. But still randomly get the feeling I have to pee even after I just pee'd. What can I do to get rid of the small uti I have now? I've been drinking water like crazy. I'm 21 weeks pregnant