I have a two-part answer for you. Part of it is about your critic, and part is about you.
The criticism others give us is really more about them than about us. There's a famous saying: "We teach what we need to learn." I've found this is true of whatever critical things I think about other people, too – whatever it is I want them to change about themselves, I actually need to change about myself. So this critical person in your life is telling you something about his/her own inner workings, and something in you is merely triggering his/her inner critic. If you know this, you don't need to lose sleep over that person's criticism.
Also, I was surprised to learn (am still learning, actually, and I'm now 63), that if something that somebody tells me bothers me, it's because there's at least a small grain of truth in it. Now that I understand this, I can look honestly for what that snippet of truth is, and figure out how to make it work for me. Do I need to allow a bigger picture of what's real help me make better sense of my life? Do I need to lose a bad habit or cultivate a better one? Will accepting that grain of truth make me a more patient, understanding, or tolerant parent or friend? Those little bits of friction can help polish the diamonds of our souls, if we allow them.
So look for whatever might be of use for you in the criticism you received. And the rest of it will probably evaporate.
If you have trouble getting there, I hope you'll look into an exercise that I have sometimes found quite useful. Go to www.thework.org, and look at the simple process: Do a Judge Your Neighbor worksheet. Ask the four questions, and look for the Turnarounds. It can really help shift the energy you feel into something more sane and balanced. Watch the free videos on the site to see other people doing the work. These are in front of an audience, but you can do it on your own, too.