Brown Spotting 7 days

I’ve been getting brown spotting for a week now, and my periods are irregular, however, around this time last month is when I got my period. What could this be?