Just a question for clarity

Amber • I have an amazing boyfriend and I`m 20

Hello! My boyfriend and I are going to finally meet in the middle of December and I was just wondering how safe a condom is? Just in case things get heated and such. Because I want to but I also don't want to get pregnant so just wanted to know the safety of them and what kind would you recommend! Thank you!