Period late for months not pregnant

I had a miscarriage in late may . my period has been on and off , but now I haven't had my period since November. I have not been sexually active at all and I've been spotting for a few days here and there In late February to now. Does anyone else have this issue or can relate ?