Depo shot

Tee
I was on depo for a few years and was taken off of it. I then switched to the pill. I've been on it for about a year. I just recently switched back to the shot, how long should it take before my period goes away?