Yes. Condoms are highly effective if used correctly during the act of sex.
The chances of becoming pregnant is less than 2%, meaning only 2 out of 100 women may become pregnant despite having sex with a condom.
There are very few occasions of condoms tearing during the act of sex. The incidence of condom breakage has been reduced to a great extent thanks to technologically superior manufacturing techniques and advanced testing procedures that ensure defected condoms don't reach customers.
So, for all practical reasons, you can be assured that condoms are 98% effective in preventing pregnancy. So, have condoms and enjoy intimate time with your partner without any worry about pregnancy.