When is the soonest I could take the test

Welp! The condom broke on the 30, got my period on the 2nd or 3rd. I'm pretty sure it won't happen because my period was so close, but what's a good time to take a test to be sure? I don't want to be smoking or anything if there's a possibility.