I got better at taking criticism when I started unpacking my depression and anxiety in therapy. My self worth was so low, any critique of my work felt like further evidence I was a worthless person. I think it can go the other way too, where you're ego is so huge you can't fathom having made an error and get defensive. So my small bit of advice is to be mindful of where your feelings are coming from.