Sounds like a faulty pressure switch in the back, usually a round unit with electrical connections from it and a rubber tube connecting to the drum, this senses the level of water in the drum and switches the inlet valves off and the heater on etc...
Hope this helps..
Pete, May 2006