Unplug the power cable connected to your garage door opener.
Remove the screws on the outer motor housing with your Phillips screwdriver. If the housing is held in place with nuts, use a nut driver.
Remove the housing and you will have access to the motor components. You can now see the circular worm gear assembly connected to a chain.
Loosen the nut on the chain with your nut driver, and remove the chain.
Remove the screws on the gear assembly.
Slide the worm gear off the shaft.
Slide a new gear onto the shaft, and replace the screws.
Replace the chain and nut.
Replace the motor housing and nut.