Sulfamethoxazole and trimethoprim combination is used to treat infections such as bronchitis middle ear infection urinary tract infection and travelers diarrhea.