Generally speaking, a contract cannot be changed after it has been signed by both parties.
一般来讲,合同一经双方签订就不得更改。
When we use a phrase like 'it serves him right', we are, in part, admitting that a certain set of circumstances has enabled justice to act of its own accord.