As long as it’s not gas, you won’t have to worry about it exploding.But if there is any bare wires showing use electrical tape and then cover that spot in rubber.
I have had the same problem but with an iphone 6s what I did was I took out the battery and put it back in and then it worked just fine.Sorry if it doesn’t work for you :(