How do i lose weight!??

How do i lose weight fast? i was recently on the depo shot and it made me gain somewhere around 30-40 pounds, i’m off of the shot now and just want to slim back down.