I'm no professional wire-twister, but I've managed to safely change out or install several dozen breakers in my adult life. Pull the main breaker to "Off," then proceed to pull the bad one, disconnect the hot lead from it, wire up the new breaker, and snap it back in. Just stay away from the shiny copper or aluminum stuff at the top (or bottom), cuz it's still very hot.
Ouch hurts!