Little confused would like some help

Hi all I would just like some clarification.

This is an example, this hasn’t happened.

Let’s say I have unprotected sex and my boyfriend ejaculates inside of me or let’s say the condom breaks and we don’t realize that he ends up ejaculating inside of me and my period will come in a week. Would I still get my period if this happened? Or would I end up missing this period because he ejaculated inside of me prior to my period. Or what happens in this case?