Place the garment in a laundry bag before washing.
Then put it into the washing machine to wash.
This is to avoid metal buttons on parts of the clothing from being worn, and to prevent damage caused by straps or similar parts getting caught in the drum position of the washing machine.