Whirlpol Washer makes squealing and clinking noise

My whirlpol washer makes a squealing noiose in the wash cycle and spin cycle it also makes a loud clinking noise when spin cycle engages. What could cause this problem?