Dark colored clothes should be washed separately from light colored clothes.
If using a washing machine, place the garment in a laundry bag before washing to avoid damage from metal buttons or drawstrings getting caught in the machine's rotation position.