Zithromax is used to treat a variety of bacterial infections. It is a macrolide type antibiotic. It stops bacteria from growing. This drug does not work for viral infections (such as colds, flu).