Well let's look at competence. I don't know what the task is, but if it's something you're doing for your employment and your motivation is a jood job performance and evaluation while improving productivity as well as your chances of promotion, then practice makes perfect.
If on the other hand, it's a menial task with no important consequences if it's not done "just so", like mowing the lawn in a certain pattern, then there's such a thing as a satisfactory or good job and there's such a thing as excessive fussing. If your behavior is excessive for the particular task, then I would urge you to talk to your doc about this. Can this be stopped? I believe so, but I'm not the expert on it.