Gloves from different manufacturers will require different care - if in doubt check the label.
In general, mountain bike gloves should be hand washed in warm, not hot water, and air dried. Avoiding extreme heat helps to retain their shape.