when should I take a test??

julia
I'm on the depo shot, and I just found out that it's due to be taken again. I should've taken it last week, but I forgot to. on the weekend my boyfriend and I had unprotected sex and he came in me twice. i doubt that I'm pregnant since the shot stays in you for a while after its due, but how long should I wait to take a test?