When a condom breaks, emergency contraceptives like plan B can prevent pregnancy if you're not on birth control. You should also get tested for STIs.
When used correctly, condoms are 98% effective. However, some people don't put them on right, and they are only 85% effective ...