Confused

So on the 8th I was 8dpo n had spotting/light bleeding for 7days only when I wiped and I'm not sure if it was my period or what but on the day I stop spotting was the day of my period???? So now it's 3days later n I been having real bad pelvic pain on the right side only it comes n goes??? Should I be worried this never happened before