Heat and evaporation because if you freeze the water it’s just going to be salty ice,when you heat water up and it evaporates since salt cans desolve you have to so called “cook it” (heat it up) even though you heat it,it will still be salty but it’s less salty than before: