My wires broke

Is there a way to fix this cause when i power it on and try to put it back together theres a spark do i use hot glue or electrical tape?

That’s unfortunate, this is also consumable. Better if you replace that thermistor than to try and fix it temporarily.