Ciprofloxacin is used for treating bacterial infections. It may also be used to prevent or slow anthrax after exposure. Cipro is a fluoroquinolone antibiotic used to kill sensitive bacteria. It works by stopping the production of essential proteins needed by the bacteria to survive. Keflex is used for treating certain bacterial infections. Keflex is a cephalosporin antibiotic.