Generic Zithromax is used to treat many different types of infections caused by bacteria, such as respiratory infections, skin infections, ear infections, and sexually transmitted diseases. In children, it is used to treat middle ear infection, pneumonia, tonsillitis, and strep throat.