OMG WHY IS MY PERIOD ENDING!

So I got my period on Tuesday and right now it's Saturday. Me and my boyfriend had sex on Thursday and Friday while on my period, and right now it's ending. But glow says that my period is supposed to end next week on Wednesday. Is it ending because we had sex?? Should I be worried?