There are many different antibiotics that can be used to treat a uti.
The most common ones are penicillins and cephalosporins. Depending on the physician, they may have a drug they prefer to prescribe. Once the lab has discovered what organism is causing the infection, there may be a certain antibiotic
that will more specifically get rid of the infection.
Answer assisted by Holly Barth, Medical Student