Depo and long periods

Macy

I got the depo shot March 29th and didn’t have my period until May 9th and I’ve been bleeding for 22 days. Should I talk to my doctor about going to the pill before stopping depo and trying to get pregnant