Everyone messes up. I've seen some pretty well known magicians miss with an audience. It happens. You can't let that get to you.
For me, if the routine is solid enough that I can perform it without thinking bout what I'm doing then I know it's safe to perform for the first time. Granted...