Sex on last day of period

Me and my boyfriend had sex on the last day of my period which was the Friday that just passed .... We were both drinking down the shore and he came in me.. Now I have read sperm can live in a women for 4 to 5 days.... I will be fertile about tuesday... I'm just looking for some answers or comments that can ease the worry I'm going through, I already suffer from high anxiety I haven't even really been able to sleep because of how worried I am.. Not saying I don't want a child I am just not prepared to have one ...