It's not economical to repair the washing machine unless you're a handyman and you have a lot of time. If the washing machine is still in warranty, contact the manufacturer. Having said that, you can try to eliminate the simple problems for example you should make sure the contacts of the inlet water valve for the controller is OK. If so, you can check whether the inlet water valve is working. If so, you can make test if the controller sends the control signal to turn on or turn off the valve. Safety is the first things first. If you're not knowing what you're doing, please find the professionals to help you and prepare to pay the high service costs. It may be economical to buy a brand new washing machine most of time.