Birth control weight gain

So I recently discontinued my use of the depo shot however while i was using it I experienced lots of weight gain how long should I expect these effects to last any help ladies