Someone once asked...
Someone answered with kindness...
If you insist on perfection you will be working forever on your first song. Every artist has regrets and things they wish they did better or would change in retrospect. Most works are mediocre and are never remembered. Don't fear it. Even that is success.
Another soul answered...
Consider it finished, when you yourself enjoy it. It doesn't need to be perfect. Maybe it's a twenty second loop, but you enjoy it. You can share that, and see what others think. You'll find that people mindlessly consume and don't often judge what they see harshly. If they don't judge you, why should you judge yourself, so harshly?
Another soul answered...
if you want to make your art work work, treat it like work instead of art. Listen to a Randy Newman interview or read, "Songwriters on Songwriting: Randy Newman" for one example.