From the limited information you have provided, I can surmise that you have Obsessive Compulsive Personality
), and that the OCPD is causing you unhappiness.
To begin with, how do you know that you have OCPD? Is it a self diagnosis or have you been diagnosed by a mental health professional? The rest of my answer is valid only if you have been diagnosed by a psychiatrist/psychologist
A personality disorder is, by definition, a very ingrained part of an individual's personality. Except in some specific situations, medications are not of much help. However, psychotherapy
such as Cognitive Behaviour Therapy
(CBT) can be very helpful. For psychotherapy to be successful, there are 2 minimum requirements - an acceptance of the problem, and a desire to do the hard work that is required in therapy.
In my opinion, you will benefit from psychotherapy. I recommend you consult a good psychologist or a psychiatrist who does therapy, and take it up from there.