Pregnancy test?

Do you have to wait until after your period is late to test?

I'm asking cuz I had unprotected sex the day before my period and my period came like normal the next day but I've been feeling a little off. Is there any chance of me being pregnant?