Contempt is a feeling of dislike and superiority over people or their actions. This is a signal of the belittling of our values.
In order to safely experience this emotion, it is necessary to realize the moment at which it arose, to understand whether it is really important, to recognize and protect the value. And work on self-esteem.
If there is no way to protect your value, then it will be safer to distance yourself and protect yourself from the source of fragmentation.
And remember, you have the right to your emotions!