Sex on placebo

If your period ends early during the placebo week, can you have unprotected sex without getting pregnant?? Or do you start taking the next month of pills when it ends?