Phone overheating and hanging

I was in a WhatsApp call one night then after the call it just started overheating then start to hang after there I just decided to restart it and that's how it went off,it just keep on restarting itself and putting itself on and off,so I don't what happened because it had never showed any failure

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

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0