can i still get pregnant?

my boyfriend accidentally came in me last night and i just started my period today. should i still take a plan b pill today to be safe ?