Sex on the pill

How long after starting the pill can I have unprotected sex?