If you own an e-bike, you may need to replace the rear wheel at some point. The rear wheel is where the motor and the battery are located, so it is more complicated than replacing a regular bike wheel. However, with some basic tools and patience, you can do it yourself. Here are the steps to follow:
1. Turn off the e-bike and remove the battery. This will prevent any electric shocks or damage to the electrical components. You may need a key to unlock the battery from its holder.
2. Flip the e-bike upside down and rest it on its handlebars and seat. Make sure the e-bike is stable and not wobbling.
3. Loosen the nuts or bolts that secure the rear wheel to the frame. You may need a wrench or a hex key for this. Keep track of the washers and spacers that come off with the nuts or bolts.
4. Disconnect the motor cable from the controller. The motor cable is usually a thick wire that runs from the rear wheel to a small box under the seat or on the frame. You may need to unplug a connector or unscrew a cap to disconnect it.
5. Carefully pull out the rear wheel from the frame. You may need to lift the chain off the sprocket or use a derailleur to release some tension. Be careful not to damage the motor cable or the brake cable.
6. Remove the tire and tube from the old wheel and transfer them to the new wheel. You may need tire levers or a flat screwdriver to pry off the tire from the rim. Make sure to align the valve stem with the hole in the rim.
7. Insert the new wheel into the frame and reconnect the motor cable to the controller. Make sure the cable is not twisted or pinched.
8. Align the washers and spacers on both sides of the wheel and tighten the nuts or bolts securely. Make sure the wheel is centered and not rubbing against anything.
9. Reinstall the battery and turn on the e-bike. Test the brakes and throttle to make sure everything is working properly.
You can also find useful teaching videos on Youtube, like this one. I hope you can solve your present issues soon.