HELP ME COMMENT PLEASE

Jasmine
so about 4-5 weeks ago my boyfriend and I had sex with a condom on and I'm on the depo and I haven't had my period in 7 months and I have had my period for over a week and I took a pregnancy test and it said I was not pregnant but why did I get my period all of a sudden ? it's not a bad period just spotting??? help!!!!!