Antibiotics and birth control.

So I’m on bactrim, an antibiotic for kidney infections, and I’m also on the pill. Does antibiotics stop your bc from working or affect it at all?