answers appreciated

I'm pretty sure I'm just freaking out probably. I fooled around with a guy 2 days ago. I'm supposed to get my period today. If this period comes does that mean that I'm not pregnant? Or would it be based off of my next period. Sorry if this sounds stupid. Thanks for replys :)