depo shot

i have been wanting to go on the depo shot for a while now since it is hard for me to keep up with the pill. i dont have sex regularly i only want the shot for my period and incase i do have sex it comes in handy. when my sister went on the shot she gained weight. we have very similar body types and both of us have fluctuating weight. opinions on going on the shot or staying on the pill?