Sex before you period, myth or reality?

Wendy
I heard that if you have sex 3 or 2 days before your period you can get pregnant? Is it true?