Periods & Depo?

Do you still get periods while on the Depo shot? Or just spotting? Or is spotting a pregnancy thing? I had a baby almost like 9 weeks ago & i dont use protection. He cums inside me. & When o was given the Depo the test said negative but 2 days later after getting it for the first time, he came in me.