Working memory is crucial for beginners learning new skills, but as proficiency increases, reliance shifts to procedural memory, which operates automatically. Under pressure, cognitive functions can falter, leading to decreased creativity and problem-solving abilities, as demonstrated in studies of stressed medical students. Anxiety, particularly in high-stakes situations like math tests, significantly impacts brain function and performance.