Protected?

I'm almost a week off of antibiotics for an uti. Does the effects still last until 2 weeks after you stopped taking them?