Why is my phone showing high temperature on charge and even of charge.

my samsung a50 kept showing high temperature off charge and on charge for sometime but through that time it would charge even though it showed high temperature but now it’s not charging and it won’t start/switch on. please any suggestions for me to fix y phone

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2942205:01crwdne2942205:0:

I had the same issue there are tutorials I used them to try an fix it. Now it turns on but won’t charge. :(

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0