It seems I managed to overcome this ailment.
For this I use the timeboxing methodology. When completing tasks, I set myself a certain temporary goal for all tasks of the day and for each separately. I measure the time in "tomatoes", the technique itself allows you to be productive for a longer time and significantly increases the "pulse of productivity" (in RescueTime (www.rescuetime.com) in 3 weeks I increased the indicator from 45 to 65).
Then Parkinson's law begins to operate - “Work fills the time allotted for it”.
The third step is to gradually reduce the time allotted for tasks, thereby gradually reducing the “free time for perfectionism.”
I did it, I am sure you will succeed!
Through mindfulness meditation. It will allow you not to react to unwanted impulses when you don't want to. It is best to start mastering it with short video lectures by Yonge Mingyur Rinpoche.