Spotting for three weeks

Patient: I had a c section almost 5 months ago. I got the depo shot and did not get it again when it ran out at the beginning of January. I have not had a period yet and am not breastfeeding. I have been spotting with a brown blood for 3 weeks now. Just wondering if it was do to the shot or could it be something else?