Pills and pregnant

Who has gotten pregnant on the pills and is it safe for the baby or should I be concern? I had posted a few days about pregnancy scare cause I had sex on the day of my ovulation and had just started taking the pill I was only 4 days in with the pill!