Pregnant?

I had unprotected sex 2 weeks ago. My period was supposed to be here yesterday, I’m freaking out. Is it too early to take a test?