effects of depo Vera and gaining weight !

Rukhsana
I got the depo done in march and June . I had put on a lot of weight and due to that I stopped . I have currently started exercising and eating healthy but I see no change of weight .  I didn't take my shot in august as I was supposed too , Instead I had put on 4kg between august -September 2016. 
Does anyone know how long it takes for the effects of the depo Vera to go ? .