Help!!!

I️ had sex with my boyfriend... and the condom broke!! I️ heard it break and made him pull out immediately. I️ should be starting my period in the next few days, should I️ buy a plan b???