When do we need a fryer repair?

Step 1: The fryer button turns on, but the device does not work.
Step 2: Burning food and oil in the fryer
Step 3: Fryer not turning off automatically
Step 4: Spark when connecting the fryer cable to the electricity

study time 1 minute
When do we need a fryer repair?