Irregular period :(

The past 3 months I have had an extremely irregular period where it comes late and stays late. It's mostly spotting and brownish black in color. I have never been irregular and I am not any bc. Any advice.