Installing a water softener is a popular and effective solution. These devices use ion exchange to replace calcium and magnesium ions with sodium ions, which eliminates the water's hardness. Soap Alternatives: Using soap alternatives, such as synthetic detergents, can reduce the formation of soap scum.