Cold water, inside out, and never the dryer. Polyspandex keeps its recovery longer when you treat it gently.
Heat is what wears stretch fabric out. Wash every FXL piece cold, turned inside out, and hang it to dry in the shade.
Skip fabric softener: it coats the fibres and stops them from wicking. Put sports bras in a laundry bag and take the cups out first.
Cared for this way, the knit keeps its shape and its colour for years of sessions.