If it's safe to go outside, turn your generator OFF. If you can't get to your generator and it continues to run while submerged in water, there will most likely be internal damage. There is not much else you can do. Remember, water and electricity can be very dangerous and if the generator is submerged, you will have both conditions.