Help Anybody?

I'm new here but a couple weeks ago my fiance and I had sex while I was on my period . Friday was the last day on my period and he decided to come in me . If I'm not mistaken sperm will stay in a woman for a couple days right ? My average cycle days are 24 . When can I take a pregnancy test juss to be sure if pregnant or not ?