Metronidazole belongs to the class of medicinesknown as antibiotics. It works by killing bacteria or preventing their growth.However, this medicine will not work for colds, flu, or other virus infections.This medicine is available only with your doctor's prescription.