Chosen Solution

My Mac won’t turn on. It’s getting really hot. I tried everything I could get from online sources like resetting pram and pressing buttons still no help. Previously I was getting hang a lot I a lot ,I had to force shutdown but now no response

Sadly this sounds like your logic board has a failure. You’ll need to find someone with the deeper skills and tools to fix it or your other option is just replacing it.