Take some time to sort out your underwear and separate it from the rest of the clothes you plan to wash, as they generally should be washed at different temperatures. Then sort your underwear by colour: dark go with dark, coloured go with coloured, and white go with white.