Charities urge people to take precautions after at least nine people died after getting into difficulty in water during the warm weather.