When should I take a test

I had sex a few hours before I started my period and the condom broke but we reliezed before he came but there was pre cum in the condom

I have my period now but should I take a test anyways how long do I have to wait