Chances of Pregnancy

I had sex with my boyfriend a couple hours ago and he came in me twice, being new to this I have questions. I wanted to know that if my period comes in four days am I safe or should I take a test after my period?