Condom breaking

T
So I just got on birth control like a week ago and I had sex tonight and the condom broke inside of me & he came & I'm really nervous that I could get pregnant. How fast will birth control work?