My body has lost its mind... HELP!

Ch
Beginning of this past month I started my period and it lasted for 10 days... longer than usual and I only stopped for about a week with spotting and then I was on for a week then off for a week and now I'm on day 9 of my current period. There has been constant spotting, very painful cramp, and lots of confusion. Just looking for any opinions on what might be going on...