Sulfadiazine, a sulfa drug, eliminates bacteria that cause infections, especially urinary tract infections. Antibiotics will not work for colds, flu, or other viral infections.