I had unprotected sex last night

Hi ladies,

I began the birth control pill on Sunday 01/21/2018. I have taken the pill every night for 7 days. Yesterday, I had unprotected sex. Every where online it says that the pill takes 7 days to work, is this correct? Or should I be concerned?

This is the first time I start birth control, the doctor just told me to start it and didn't say much after.