Stop trying to be perfect. Stop criticizing yourself for not being perfect. Always do your best and always know that by not achieving what u want u not a failure ... Remember that no matter what, you will always be perfect just the way you are, flaws and all.
Stop comparing yourself to others. Everyone o is unique. We all have different gifts. When you compare yourself to others, it makes you feel bad about yourself.