Condoms prevent pregnancy as long as they do not rip or tear, and as long as you use them properly.
Did it tear, rip, or break?
Have you considered birth control pill use? Parental consent is never needed for birth control use, and places like planned parenthood can get it for you for free.