The perfect thing to do is to wash it by hand. But if you don't want to or can't, you can put it in the washing machine in a washing bag.
Above all, wash it in cold water and with a mild detergent.
Do not use a tumble dryer or fabric softener (very important), as this will damage the fabric and the rubber bands.
If you have any questions please write to email@example.com