Condom broke! Help!

Hi,

I am F 24 and my bf is 25 M. I had sex yesterday and the condom broke and I took a plan b within the hour. This is the first time this happens. I feel the side effects but I am a little worried about it not working. I have clear discharge a lot of it. I’m supposed to get my period in 3 days. When to test? Did this happen to anyone and did you get pregnant??