help me on this

I had sex with my boyfriend yesterday and the condom broke. He went to get plan b right away and I took it 15 minutes after. Should I be okay? Also I'm supposed to get my period in 5 days does plan b mess up your cycle?