Hi, I know how does it feel when you have worked so hard and when you are in fron of the public, the play doesn't go as you wanted: the piece with mistakes, stop for a moment and play it again.
I played piano since 2002, and until now, I had 4 recitals. To be honest, my first 3 recitals weren't unflawless, when I did a mistake, I stopped and then restart where I could remember.
The last one was great for me, in my point of view, I didn't stop and continue the pieces I played.
I discovered that everybody is human, and even the best pianists do mistakes without knowing it, because they also learned how to disguise the mistakes.
Also, there are reasons beyond your control of why you fail. These are some of them with one solution:
- You are not used to the scenario where you play (try to do an appointment to practice there one or two days before the recital)
- It's a different piano (same solution as above, if not, then search for a similar piano to practice your pieces there)
- You slippered in a note (don't mind about it and go on)
- There isn't too much public (then you must be relax, the less people, the better)
- There is too much public (don't mind about it, imagine that you are alone playing as if you are practicing the piece)
- The recital was postponed (then you'll have more time to practice)
- The recital was changed to an earlier time than it was supposed to be (if you have practiced a lot, then you don't have to worry)
Also, part of training your mind is going to someone's recital before so you can not only learn from the pianist's behaviour, also from the public's. So try to go to many recitals as you can days before yours.
And I agree with the ones who said that you can do private recitals to your close ones and that doing recitals has to encourage you to do more.