Depo Injection 6 Years Then Pill. How Long?!

I was on the Depo injection for 6 years but I stopped just over 2 years ago. I went straight on the pill and came off of it 10 months ago. Could this be the reason I havent conceived?? Or is there something else??? Anyone help??