Park the car on level ground, switch off the ignition, and lower the window for easier access. If the vehicle’s service instructions call for battery disconnection, follow them before touching electrical connectors. Check the replacement procedure for your exact model year; trim clips and wiring layouts can differ. Keep a small tray nearby for screws.
Carefully ease off the interior trim panel beside the mirror using a plastic trim tool. Work around the edges rather than pulling one corner hard. You may find a foam seal, a connector, and several retaining nuts behind it. Support the mirror from outside before loosening the nuts, so it cannot drop against the door. Slow hands help.
With the mirror supported, press the wiring connector’s locking tab and pull on the connector body, not the wires. A stubborn plug can tempt you to tug. Don’t. Check for a secondary lock, then release it gently. Once disconnected, guide the mirror assembly away from the door and inspect the opening for broken clips, moisture, or damaged wiring. I would not reuse a cracked seal; a small gap can invite water later. If the connector or door wiring looks damaged, stop and have it assessed before installing another mirror.