Schleven called it, more than likely you have a bad lid switch. You can start and new cycle, most washers will fill and some will start agitating but will stop when it gets to the first drain or spin cycle, note some washers will stop as soon as it filled. you can put a jumper wire on the lid switch usually it will be a white and gray and green wire going through cabinet under control panel usually on the right side. If you have a ohm meter you can test it like that, test between the white and gray wires. UNPLUG MACHINE FIRST!!!
model number would help though