Obsessive -compulsive disorders is a mental disorder in which the person feels the need to perform certain tasks again and again in a routines( compulsions).
The person is not able to control such behavior and thoughts for a longer period of time. So even if the person somehow stops himself for sometime after sometime they will end up doing the same.
Living by your personal values sounds easy—at least in theory. Your values, after all, are simply the things that are important to you in life, so it should be natural to live by them.