Digispark don't work when I power it by 5v and GND inputs and chip starts heating
You connected the power backwards - so all the current is being shunted straight through the ESD protection diodes (and likely other routes too) generating lots of heat and risking permanent damage to the MCU.

Take better care next time...