How effective is trimethoprim-sulfamethoxazole?

Trimeth-sulfameth. Trimethoprim-sulfamethoxazole is a sulfa drug. What has it been prescrbed for? For acne, there are better oral medications. For urinary tract infections they can work effectively. Many side effects.