Q- Sex week before placebos?

Kristy
Can you have sex during the last week of active pills before going on to taking the placebo pills? Just a little confused as I have heard to ensure full protection against pregancy whilst taking the pill you must take it perfectly before and after having condom less sex. What's confusing me is how are you being protected after having sex if you aren't going to be taking anymore hormones during the break week?