Switching from the depo shot to the pill

I got my first shot in December and I'm suppose to be getting it again in March but I want to switch to the pill.. Can I get pregnant during the switching process?