Toshiba Washing

I have a lg washing machine model wf-t857.When i turn the power on it just displays f.Before this started happening, during washing, the machine would stop at rinse or spin cycle.The power continued but the machine would just hum and not do anything, i was turning it on and off until it started displaying the f sign.