First, dissolve a small amount of baking soda into a basin of water and soak the white socks into the solution for about five minutes. Then wash the socks by liquid detergent and rinse them with water. In this way, the socks will be white and soft again.