Same goes for washing a bra - the best advice is to wash them gently by hand, with warm water and washing powder, but if you have to wash them in a machine, do it on a cool wash - and make sure the bra clasps are fastened together. Better still, get a bra washing bag to put them in before putting them inside the machine (or a BraBaby, if they still exist).
Bras are such great looking, and they hold some of Mother Nature's greatest's gifts to mankind, but by the same token, I'm so glad I don't have to deal with them much. I own no delicate or frilly clothing and clothes wash for me is rather simple procedure. My only clothing that requires care is my business suit and I take that to the cleaners. 
Bras are very much the most important item in a woman’s wardrobe (possibly a close second is shoes). If you take care of your bras, they’ll take care of you.
Of course, you have to have the correct size, decent brand etc.
But they’re wonderful, powerful garments.
Not a lot of people know this, but there are often 45+ individual components in a bra (I’d love to see one deconstructed), from underwires to straps, lining, elastic, lace, metal loops, plastic, shoulder strap adjusters, thread and material (and the cute little bows in the middle that no longer serve a real purpose).
I can’t think of a more complicated item of clothing.