how to avoid dangers at beaches