Depo wearing off?

Amaia

My last shot was in Feb, but I was due again in May. (7-21). But at the end of May I decided to try the pill. But ive been horrrribleeeee with taking it. I had a cycle for the first time (June 23- July 2). But I had sex a few times a couple of days ago. I’ve been spotting a little. Could that just be the depo wearing off?