Cylinder head repair

Hi, good afternoon everyone. I wanted to ask you, since my car overheated and the cylinder head warped but the block is in good condition, is it necessary to change the rings in that case?