Should I wait??

So me and my boyfriend had unprotected sex and some of his cum got in me. I took a plan b a few hours later. I’ve been having really odd cravings and eating so much. Also been super moody. My period is in four days or supposed to be. Should I go ahead and take a test or see if my period arrives? I’m 16.