Heating to a suitable temperature, holding long enough to reduce residual stresses and then cooling slowly enough to minimize the development of new residual stresses.