Most people seem to think that condoms are 100% percent effective in water. Condoms can prevent pregnancy and STDs but they have a high rate of failure when used under water. Water contains a variety of chemicals like chlorine, detergents, chemicals from sunscreens and tanning lotions all of which can cause small perforations in the condom and make them useless. One should be aware that spermicidal, jellies and sponges should not be used as contraception when having sex in water. These items will immediately become ineffective the moment you enter the water.
The only sure way of not getting pregnant or acquiring an STD is to not have sex.