Probably a stupid question

Alex
So if your condom leaks/breaks during sex, are you no longer protected from stds? It's not something we were ever taught in sex ed.