Emergency!!

So me and my boyfriend were having sex, and after a while something sound like a bubble and he said that he broke the condom....and we stop everything...he didn't cum yet it was the beginning. But we panicked and stop and then i took the day after pill...is still a chance of pregnancy