Period and plan b

ren

So I my boyfriend accidentally ejaculated in me yesterday, but I just got my period today. Should I still take a plan