Sex and periods

Mya

So my friend told me that it is okay to have unprotected sex the day after your period ends because there is no egg waiting to be fertilized. Is that true?