Additionally, rains can cause bacteria and other harmful matter to be washed into the ocean and waterways; therefore, swimming should be avoided during and for 12 to 24 hours following heavy storms. Or raining. Sometimes, it can harm you if you are swimming outside.