Birth Control Pills

How long does it take for them to “kick in?” Like how long until it’s safe for me to have sex?