7days or a whole pack?

Lulu
I heard that you shouldn't have unprotected sex up to the first 7 days of taking the pill or you could get pregnant but my friend swears up and down that it's a whole pack of pills.. does anyone know the correct answer, or have you ever got pregnant on the pill?