Depo shot

Hello, I'm planning to get the Depo Shot as a birth control method next week and I will be seeing my boyfriend within 3 weeks. I know it takes about a week to have full effect but this is my first time getting it. So, saying that I would like to know if I would get pregnant even if I got the shot ?