Don't worry about messing up, just say screw it and go for it. If you fail, don't be too hard on yourself. The key to adapting to situations spontaneously is to not overthink, remain very calm and believe in yourself. You have to bet on yourself in every situation and even if it doesn't work out, brush yourself off and go again.