Recognize that perfectionism is imperfect. True perfection is a delicate balance between high-quality work and some imperfections.
You may have some traumas that are making you being a perfectionist, maybe something related to your parents or other persons in your life. You also probably feel some anxiety, fear, and/or sense of competition while working: inspect that, understand where it comes from, and heal that. Also, as you feel unfilled notice that you are far from being a perfectionist as your perfectionism is creating an unperfect unhappy life. You may need a better balance with more empty time to relax and random things.
I have been a perfectionist in the past. I felt very egoistical when I was in this mindset and therefore attracted criticism from others because of my over-attention to details. Then I switched to the opposite side and did poor quality work that didn't help me. I'm now getting to a better and better balance.