Know that this is the most important part of learning.
Take a few breaths. Count to 10. Find your strategy to help you through frustration. THEN:
-Move on to "what's next."
-Find out what happened and why?
-The challenge is not hard, it's just what learning feels like.
-If it takes 300 times, don't stop at 299.
-Don't practice until you get it right. Practice until you can't get it wrong!