Sodium sulfacetamide is a 'sulfonamide', which can be referred to as the earlier version of antibiotics. Before antibiotics and penicillin came into existence, it was used to cure acne. It is still used on skin for its antibacterial properties. It curbs the growth of P. Acnes, the bacteria that causes acne and thus prevents acne from taking shape. Just like Erythromycin, it is also used in various creams to cure various types of acne.
It is quite difficult to digest and people in a few rare cases have also died due to severe reactions to sulfonamides. Normal side effects include irritation, stinging and burning of the skin.