Liletta(IUD) pregnancy

just need some reassurance. my period is due in 5 days. a week ago i had sex w/o a condom and he came in me. stupid decision honestly, i knew better. the closer i get to my period the worse my anxiety gets that i’m not gonna get my period because of the obvious reason. when’s the soonest i can test???