Need help

So I got the shot (depo) at the start of last month and I was late for my period by 10 days. I then got it,  but now I've had my period for 10 days. What's happening?? It's my first time on this birth control