Washing your sneakers in a machine can restore their fresh look, but it requires careful preparation to avoid ruining them.