I’m on birth control. Need some help ...

I’m on birth control and have been for about 5 months now. Just last week I started taking antibiotics for a bacterial infection. I am aware that most antibiotics cause birth control to not work and protect you from having children. Once I finish my bottle of antibiotics how long will it take for my birth control to be affective again ??