When the hot end sock has obvious damage or dirt that is difficult to remove.
The hot end sock is a silicone cover that wraps around the heating block, which helps the hot end maintain a stable temperature during printing and prevents the leakage of filaments from contaminating the heating block.
Make sure that the hot end has cooled to room temperature before proceeding, otherwise burns may result.