There's a point I reached where I mostly just stopped caring. I also don't like a lot of people, so I suppose the feeling is at least sometimes mutual.
More to your actual point, learning to deal with criticism is a skill and it can be very tough sometimes for everyone. I normally try to think of how that comment is wrong and, if it's not, how I can learn and grow from whatever criticism is. Don't sweat honest mistakes; just try to put systems in place to avoid them (I'm a fan of checklists for some things). For personal attacks or unrelated, just ignore them.