Bactrim DS is a combination of two medicines: Sulfamethoxazole+Trimethoprim. It treats urinary tract infections, ear infections, enteritis (inflammation of the small intestine), pneumonia, traveler's diarrhea