I would like to know how long after taking contraceptive pills have contraceptives an effect

When can I have a sex life without the risk of pregnancy?

After two weeks, there is no need for any additional form of contraception if you take the pills from the first day of your menstruation.