Deposhot

I just got my second depo shot today & im on time with it , does it matter if I have unprotected sex the next day ?