sex question

My boyfriend and I were feeling frisky and we had unprotected sex. I am on the pill and I'm not supposed to start my period for another 2 weeks. He didn't cum in me, we stopped within seconds before he came. Do you guys think I'll be okay or should I go take plan B? I'm very new with sexual activity so I sometimes get a little worried.
Thanks in advance!