Switching from depo shot to the pill

Emilee
Okay so I'm almost due for my third depo shot, but I want to switch back to the pill to have a set period. With the shot I spot constantly and it's getting on my nerves! Has anybody had this switch, if so how long did it take to get back to a normal cycle?