Bactrim is not as strong as the other two, so may be you could use the Bactrim. That's what I take to prevent infections. But you need a prescription for it, so you need to ask your doctor.
There are hundreds of antibiotics out there. Just be sure to tell every doctor and your pharmacist what you are allergic to. Your doctor will know the best one to treat whatever kind of infection you have.