You can practice until the nerves are gone. I've been doing Leetcode weekly competitions, after a while it's just another timed coding challenge.
I've noticed training cardio helps me handle anxiety better, both because I can better handle the physical effects when they arise, and the training itself removes anxiety I'm feeling at that moment.