After sex period starts

Is that normal to go through?  This is the first time it's happened to me. Usually if my period is due and I have sex there's no change and my period will still come when it's due. However, this time my period started like moments after sex was over.