Unprotected sex

N

Two weeks ago I had unprotected sex. I got my period 4 days late but luckily I got my period this week and am now finishing up. It was so close to my period week that it felt like regardless I was going to get it since i always cramp a week before. Should I still get tested ?