Period talk?

Is it true that you can't get pregnant when yours on your period? You have intercorse and the guy cums in you while you're on your period more likely towards the ending?