Possible???

Has anyone gotten pregnant from sex before their period started and had the period? Like 3 days before period

Edit: so you can’t get pregnant from sex on cycle day 5 if it was before period started?

Cycles are every 29-31 days