Let's start with the fact that it needs to be perceived when you yourself asked for it. When a person just criticizes you - well, most likely he is stupid and cannot follow the rules of good manners, and does not even understand that his opinion has not fallen anywhere. If you post your creation in the public domain, then also listen only to those who have really constructive criticism, and not vying to offend you. Normal criticism should be treated well, perhaps you will emphasize something for yourself.
Understand that the other person is free and completely disinterestedly giving you ideas on how to become better. Yes, not in the form in which you would like, in the wrong tone and in the wrong setting (for example, in front of witnesses). But all the same, if you compare the two options for the reaction: get mad or get offended and leave without changing anything, or admit that the criticism is justified and you, in general, do not need to take note of it, think it over and use it for your own purposes - the second option will be more useful to you.