It is is given to treat bacterial infections. It is prescribed for sinus infections, urine infections, skin infections, joint infections and some dental infections. It is also given before some surgical operations, to prevent an infection from developing.