irregular period and spotting?

so i haven’t had my period in 4 months, since december 20th. this month, i spotted for 7 days. it was brown and sometimes pinkish blood and occasionally there would be blood clots. at first, i was scared i was pregnant, so i took a pregnancy test. two actually. one in the middle of me spotting and one more than a week later after spotting. i assume i’m not pregnant but probably has something to do with my irregular periods i’ve had since i first started my period. i’m very used to my period skipping a couple of months but i’ve never experienced spotting like that before??? any advice on what i’m dealing with rn??