If you have a sulfa allergy, you should avoid antibiotics such as Bactrim or Septra (TMP/SMX, trimethoprim-sulfamethoxazole). Trimethoprim-sulfamethoxazole is the most commonly used sulfa antibiotic.