Can you get pregnant on the Depo shot?

La
I've been getting cramps and my favourite food tastes horrible been happening for about two weeks, which was two weeks ago I had sex and got the needle two weeks around the same time having sex... 
Plus I've been sleeping more then normal.