Can you get pregnant on the depo?

Bethany
I'm curious if you can get pregnant on the depo if you take the shot for the first time while ovulating and have sex the next day with no protection?