Most often that is a sign of bad hardware (system board, memory, etc...) and device needs to be replaced. You can try to do a factory reset on it (how to do that will be in the documentation for your device) which will wipe the device and set it up like it was new, if it can do that. Often with these issues it won't reset.