Help?!?!

I was supposed to get my period today & didn’t, my first day of my last period was August 12th.. I had unprotected sex like a day or two after my period ended..it was approximately 24 days ago, almost 4 weeks.. could I be pregnant? Is it to early to know? When should I test?