Ps4 slim wont start

i try to turn it on and it goes into safe mode and i tried to rebuild the data base but it still doesnt fix the problem. i keep getting black screens, the unit makes weird sounds then it goes silent and then it starts again. last time i could play something on it, it worked as if there were no problems and then suddenly shut off, also i couldnt get it to read a specific disk, idk why. when i first noticed it doing weird things was when i took it to my other house, i had no wifi so i played offline, i used the data from my phone to update games sometimes, and it also kept heating up so much, but it was nothing new because when i had it home it would heat up too. this happened like 8 or 9 months ago and i stopped trying to turn it on after like 2 months since.