Many strains are resistant to ampicillin and tetracyclines, so other drugs should be used; they include piperacillin, cephalosporins, carbapenems, fosfomycin, nitrofurantoin, aminoglycosides, trimethoprim / sulfamethoxazole (TMP / SMX), and fluoroquinolones.