Should I be worried?

Patricia-Pattiecake
I recently had sex and it was the first time in about 2-4 months. However, I noticed later that night that I was spotting. This has never happened before. It stopped suddenly but I also know that my period is due in 9 days. Has this eve happen to anyone before? Should I go to the doctor? Or is it just hormone level or my body preparing for my period?