When I stop being nervous I'll give up. I also find that if I start thinking about a tune I'm playing then I go wrong, so I try not to and just try and let the music come out. It really doesn't matter how many times you play A & B parts and generally if you don't think about it then you've probably got it right.