washer repair

The washer does not fill with water. If I hold the water level switch in a certain position it will fill to level i want, then i let go switch and water stops flowing and washer begins to agitate. I have to do this for wash and rinse. It also does not spray water when spinning. The washer agitates and pumps out the water. Also how would i repair the item