Depo Shot

I recently got the depo shot on August 9th, I was suppose to go back for the second shot but I decided I didn’t want it. And I’ve been getting spotting ever since... I just want to know when will the spotting end? Or when does the depo shot wear off?