Condoms

How effective are condoms? And to the ladies who say they got pregnant with a condom how is that possible unless it ripped right?