Unprotected sex on sugar pill?

Is it considered safe to engage in unprotected sex whilst on the sugar pills?? I've always heard that you will still be protected for the duration you take them.