You can wash your denim cargo pants by hand or in the machine. If using a machine, flip them inside out to protect the fabric. Use a gentle cycle and cold or lukewarm water to avoid shrinking and fading. Use a mild detergent made for denim. Avoid harsh detergents as they can damage the fabric. Don't dry them in direct sunlight; instead, air dry indoors or in a shaded area to prevent fading. Denim usually doesn't need ironing, but if you prefer, iron them inside out on low to medium heat