Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.
It sounds rather in bad shape, with regard to control circuitry. The erratic operation-then-malfunction sounds rather like that.
Is it being powered off a stable source, of the right voltage value? irregularity and/or surges on the power could cause this.