Sulfonamides were the first effective antimicrobial agents against bacterial infections. They work by interfering with bacterial synthesis of folate and are classified based on duration of action and therapeutic use. Cotrimoxazole is a combination of sulfamethoxazole and trimethoprim that is bactericidal due to synergistic inhibition of dihydrofolate reductase. It has improved spectrum and resistance compared to the individual components. Common adverse effects include nausea, vomiting, and headache.