You tell them what they already know.
It's the price they pay for all the unconditional love, affection, and companionship that they give and get in return.
And then remind them that they're strong enough to do it again, because the next one deserves it just as much.