Switching birth control for weight loss

Victoria

I feel like the depo shot is making me gain weight and having an effect on my emotions so I want to switch back to the pill. Will it help or is it useless