To replace the power steering pump in a BMW 520, first locate the pump in the engine bay. Remove the drive belt and then the mounting bolts and wiring harness. Remove the old pump and install the new one in its place, reconnecting the wiring harness and mounting bolts before reinstalling the drive belt and testing the power steering system to ensure proper operation.