You unplug the dryer.
You take the covers off the machine until you can see how the wiring terminates on the existing button. You look at the existing button and make notes (on paper; don't rely on memory).
You carefully disconnect the wiring (Its probably some kind of plug & socket or push-on connectors)
You remove the old button
Put in the new button
Replace the wires in the correct places.
Better still - get a techie who understands what they are doing before you injure someone.
XXX
May 2016