Water logged soils- what to do?

We have had so much rain of late, so what to do if your soil is waterlogged and ways of preventing or reducing the risks of it happening again and damaging your plants