Question about the pill!

Ke

Is it true that if you start the pill as soon as your period starts, that you are automatically protected against pregnancy?

Thanks!