People have been advised to stay away from beaches.