Sex on the day of period??

Okay so I just had sex with my boyfriend and he came outside of me before putting it back in. After we finished having sex we both realized that I just got my period. And we're both freaking about about the chances of me being pregnant.. can that happen and is it possible? He wants to buy a plan b tomorrow but I don't want him wasting money if it's not nesscary..