Welcome to Android Central!
What kind of phone do you have, and how long have you had it? If it was under warranty and you attempted to fix it yourself, unfortunately that would result in the warranty being voided.
If your phone is overheating or if you do not feel safe using it, I would recommend powering it off and seeking out a new device.
Perhaps another user more well-versed on phone repair than I can offer you better assistance! Hang tight!