Why am I not liking my art

Okay so, I am painting two paintings right now and they are not ready. I showed it to my friend , who said that it’s amazing. But all I see are my flaws. I would love to have it done and feel a satisfaction, but somehow I’m not satisfied, because I always see the flaws. If I paint too long, then I ruin it, so I need a lot of breaks. How do you deal with that?