Ego-dystonic ideas, such as obsessions in OCD, don't match up with one's values and self-views, while ego-syntonic beliefs do.