Scared

Okay, so my boyfriend & I had unprotected sex last week. It was not during my fertile window and my period should be starting in the next two days. And he did not cum inside of me. I know the outcomes can happen but I'm just scared. Should I take a test or ?