Talk to yourself kindly. Use less strong and harsh language. For example, instead of thinking “I’m never going to get this right,” instead tell yourself something like “I am human and it is okay to make mistakes. I may not get it right this time, but I will learn for next time.”