When does the pill start to work?

Olivia

I started taking the pill about 8 days ago and got my period the second day of taking the pill, and my period just ended yesterday. I read that if you are on you period when you start the pill you can have unprotect d sex right away, and otherwise it takes 7 days to work. Is this true? Is it alright for me to have unprotected sex now?