What happens when...

What happens when you miss your last active pill before your period? Does it matter? Even though you still got your period.

I heard it only matters as long as you start on time and then you’re good to have sex.