More reviews for: Amoxicillin, Bactrim ds. On eHealthMe, Amoxicillin (amoxicillin) is often used to treat helicobacter infection. Bactrim ds (sulfamethoxazole; trimethoprim) is often used to treat urinary tract infection. Find out below the conditions the drugs are used for and how effective they are.