How to stop being perfectionist?

i think it affects me very negatively and im habing low self-esteem because of that and also some anxiety. if i don’t get an A+ i just want to humiliate myself and kind of like punish myself. how to stop that?

How to stop being perfectionist?
Post Opinion