washer spin cycle problem

washer makes a loud squealing noise when going through the Spin cycle…also there is a strong burning smell like an electrical part. The Could this be a bearing going out? What would it cost to fix?