Before it comes off: tag the three leads and photograph the terminal box; scribe the coupling halves and the feet so the new motor goes back where the old one sat; note the shims under each foot and keep them in order. Pull the coupling half with a puller, never a hammer. On the bench: megger, three winding resistances against each other, spin the shaft by hand and listen, check the fan and cowl.
Bearings fail first and change most. Match the bearing numbers from the nameplate or the old bearing, pull the old ones with a puller, and fit the new ones by heating the bearing to about 110°C, no hotter, on an induction heater or in an oil bath, so the inner race slides onto the shaft; never a hammer on the outer race, which brinells it and gives you a bearing that fails in a month. Grease to the motor's instruction, which is less than most people think, and run it in uncoupled.
Alignment is what keeps the new bearings alive. A straight edge across the coupling at four points and a feeler gauge in the gap gets a small pump within tolerance; a dial gauge or a laser does it properly on anything big or fast. Soft foot first, then angular, then offset, then re-check after the bolts are torqued. A motor that runs hot on the drive-end bearing after a swap is misaligned.
Pocket rules. Tag, photograph, scribe, keep the shims. Puller, not hammer. Heat the inner race. Align, torque, re-check. Drive-end bearing hot means misaligned.
Electrical or mechanical. The motor, its bearings and its alignment to the coupling: electrical, with mechanical help on the lifting and the coupling. The pump end: mechanical.