Depo shot question!

I'm on the pill, have been for a couple years now. I'm wonder how the Depo shot works. 
Like, do you keep getting your period every month? 
Does it make you gain weight? 
Please tell me everything you know about it! Thanks!!