pill and unprotected sex

Lucie
When's the best time to stop taking the pill after having unprotected sex ?