Vancomycin in pill form

Ashleigh
My doctor prescient me vancomycin in pill form to treat a uti I have because I'm allergic to all other meds. Has anyone else taken this and the uti went away?