pills to depo

so I was on the pills and I decided to switch to the shot (aka depo). I got the shot yesterday and had unprotected sex the same day, is there a possibility that I can get pregnant?