Bactrim is a brand name for a combination antibiotic medication containing sulfamethoxazole and trimethoprim. It is used to treat a…