Depo concerned pregnancy

I got the depo shot on Monday at 2pm during the end of my period cycle and stayed abstinent until the next Monday. On that Monday around 4 pm my boyfriend and I had sex and he came in me. I know that you’re supposed to wait 7 days, which I did, but I am concerned that maybe it was too soon? I’m scared that I’m pregnant and had unprotected sex when I didn’t have full coverage. Should I get a pregnancy test in 14 days?