It depends on the stain. Cold water is usually best for protein-based stains like blood, sweat, and dairy because heat can set them into the fabric. Hot water can be more effective for oils and heavy soil, but it is always best to check the garment's care label before washing.