A lot of people freeze up in recitals because they have trained themselves to stop at the first mistake. Bad idea, IMHO. On the other hand, making the same mistake over and over is very bad. I circle the mistake in pencil, if my teacher didn't already. Then I play that one measure over and over, as slowly as necessary to play it correctly every time. If necessary, I break it back down to right hand alone, left hand alone, if that is what it takes to play the difficult measure correctly over and over again. when it is correct, you can speed up. Then maybe you can play that 8 measure (or whatever leghth) phrase correctly over and over, faster and faster. Then you are ready to try the piece as a section or a whole again.
Sometimes reading the score at speed is the problem. Where that is a problem, I'll write the name of the top note above it or something, to give myself a heads up as I come up on it. The rest of the notes should be obvious from the chord structure (after you've played enough chords and arpeggios in theory class).