It's generally not a good idea to throw your shoes in the washing machine. For sneakers, use a combination of warm water and a mild detergent to wipe away any blemishes or marks. You may be able to brush dirt and mud out of your shoes with a clean brush as well. Let your shoes air dry in front of a fan after cleaning them if you use water.