Pregnancy

Hey my bf and I had sex the first day of my ovulation 2 weeks ago and he didn’t pull out in time but I took a plan b will it work ? I had some spotting last night with cramps and cramps today but no spotting....my period is due next week