Pregnant on pill?

When to worry if you pregnant on the pill ??