When does the pill start working ?

Ok I’ve just started taking bc pills (4 days ago) and not sure when it’s safe to have unprotected sex????