Always check the care instructions on the garment label.
Use a delicate wash in cold water.
Use a minimum of soap to preserve the colors.
Choose a special detergent for dark colors.
Wash jeans inside out to protect them and avoid the dryer.
Flat drying recommended, or hanging if necessary.