You’re not perfect. You can be better. We all know this, but we tend to dislike hearing any criticism about ourselves.
When you hear criticism about yourself, instead of instantly feeling defensive, try pausing, and listening to what they actually said.
Ask yourself two things. Are they right? Does it matter? If they’re not right, let it go. If they’re right, but it doesn’t matter, let it go. If they’re right and it does matter, then think about what you can do to improve, and be grateful to that person for helping you be the best self you can be.