Throw them in the wash with all the other socks and underwear, wash them, pull out and throw on top of the washer to dry. If there's too many to fit on top of the washer I'll hang some on the side of a wash basket. Sometimes one sneaks into the dryer and is fine. Sometimes people overthink things.