Keflex (cephalexin) effectively cures many infections caused by bacteria and protozoa and is a generic drug. Cefazolin is available as a generic drug. It is suitable to treat many types of bacterial infections. Keflex can be found in tablets, capsules, and suspensions. The medication should be taken as per the prescription at regular intervals.