Can erythromycin be used to treat stds

Can erythromycin be used to treat stds