pretty good idea of what i was going to do on stage.
another thing that might help is to write your poses down. that way you have a visual reminder as you practice, so you don't forget that perfect pose.
finally, you just have to be prepared to forget everything you practiced and prepared. no one - none of the judges and none of the audience - will have any idea you just forgot your entire routine if you just keep going, act confident, and have fun.
don't pause and give the audience a dumb look, and don't stop and think. just keep posing to the rhythm, and everyone will think everything is 