When should I test?

I’m due for my period in 4 days. Had unprotected sex last night and the condom broke. We aren’t trying but we are okay if we fall pregnant, so didn’t take plan b. I’ll of course wait for my period and see if it comes but if it doesn’t when would be a good time to test since it was so close to the start of my expected period?

Thanks :)