How do I get off of depo shot?

I’m trying to get off the shot bc I’m trying to lose weight and I’m struggling to the get weight off I’ve gained while on depo. My next shot is coming up this week so do just not go?