Sex & birth control

How long after starting birth control is it safe to have unprotected sex ?