Spotting vs period

I'm just about midway through my cycle and have had four days of heavy spotting (feels like a light period).  I'm wondering if this is my period coming early? Now I feel like my cycle is all messed up and I don't know if I should expect to have my period in a couple weeks or what. Any input?