Pregnant and Depo

Can you get pregnant while you're on Depo ??? I recently had a baby in September and I got on Depo October 31. But had sex 2 weeks ago and had some spotting this morning. I do go for my next shot January 16 ! I'm not trying to get pregnant but I'm just wondering !