Unless you have NO choice.... you don't.
If you must, you drive out the cross pin in the frame, then press the firing pin and the frame bushing out toward the barrel.
This requires a special press to press the pin and bushing out.
Drive it out with a punch and you risk damaging the frame.
Done right, you also use a press to press the cross pin out to prevent dinking up the pin head or the frame.
Installation also requires a press device to align and press the bushing back in.
This uses a long press punch that works down the barrel.
Use drive punches to get it out and back in at your own risk.