If the washing machine isn't working properly, particularly if there isn't enough water coming into the drum, do the following:
turn off the hot and cold water using the faucets attached to the pipes over the washer
using a pliers, unscrew the red and blue hoses connected to the washer. usually the blue one is the culprit.
There is a mesh screen filter between the hose and the washer. Sometimes it comes out, sometimes it gets stuck on the washer side of the connection, in which case get it out with a pliers or something else.
Clean the mesh screen, it is often full of debris. This is what causes the problem.
Replace everything. Tighten the hose with pliers - not too tight. Turn the water back on. If leaking, tighten the hose.