When pills start working

I’ve been on the pill for 6 days now, and I started the first day of my period. Has it already started taking effect? Can I have sex? I’m taking Lutera & it’s my first time on birth control