If you have a front-load washer that was manufactured by Frigidaire, the E58 error indicates high current on the motor. This could mean that the motor is bad, the bearings that the tub spins on are bad, or a problem with the speed control board. To test this, you'll need to access the motor and tub area of the washer. Unplug the power before opening the washer. Take the belt off the motor pulley and check if it spins freely. If it doesn't, then replace the drive motor. If it does spin freely, check if the large pulley on the tub spins freely. If that doesn't rotate, you'll need to replace the outer tub and spin basket in order to replace the failed bearings. If the pulley rotates easily, you'll need to check the motor windings. If the resistance is between 4-6 Ohms, the speed control board is probably faulty. If the resistance is not in the correct range, the motor is bad and needs to be replaced.
A Frigidaire washer technical data sheet is available here: http://manuals.frigidaire.com/prodinfo_pdf/webster/134542000.pdf
If your washer is under warranty, contact the manufacturer. If you add a comment with the model number of your washer, I may be able to provide a source for the parts.
I hope this helps.