Period came early?

Alyssa
So I have a couple questions? I just started my period 2 days ago and I just had it 2 weeks ago? In 4 days I will be taking medroxyprogestertone a pill that I'm on to have my period or else I don't get it at all regularly. So I'm wondering why it started early? Before I had an issue a week ago with my memory and now for some odd reason can't have sex my bf and I were trying. Now because of what happened a week ago we haven't has sex in like 2 weeks maybe? Should I still take the pill I have to take in 4 days and get my period again in a week or 2 or no? This worries me it has never done this before.