Plan B + On period

Me and my boyfriend had sex last night, the condom broke and he came in me. I took plan B three hours after. I have had nausea this morning. I just went to the bathroom and I'm bleeding. On the app says my period is due in 4 days. So idk what this means or what is happening. Will this push the sperm out? Can I still be pregnant ? We used spermicide but idk if I used enough.