You can get rid of the smell and dirt through gentle washing with mild detergents and warm water. At times, you might have to soak the sock for a while to let all of the dirt dissolve and flow out. This ensures cleaner, longer lasting socks.