The following antibiotics are used to treat UTIs: 1  Beta-lactams, including penicillins and cephalosporins (for example, Amoxicillin, Augmentin, Keflex, Duricef, Ceftin, Lorabid, Rocephin, Cephalexin, Suprax, and others); many organisms have resistance to some of these drugs.