what is bactrim prescribed for?
As a type of antibiotic, Bactrim Â® (sulfamethoxazole/trimethoprim) is approved to treat the following conditions: 1  Urinary tract infections (UTIs), such as bladder infections. 2  Ear infections.3  Acute worsening of chronic bronchitis. 4  Shigellosis (a form of dysentery). 5  Traveler's diarrhea. Urinary tract infections (UTIs), such as bladder infections. 2  Ear infections. 3  Acute worsening of chronic bronchitis. 4  Shigellosis (a form of dysentery). 5  Traveler's diarrhea. 6  A certain type of pneumonia known as Pneumocystis carinii pneumonia.