You said you purchased this in "year 10" -- you mean 10 years ago?
To determine the cause with hardware failures, you have to be able run diagnostics. We have no way of accessing your PC from here, so we can not do that for you. You have to do it yourself.
You do this by pressing the Esc key repeatedly when rebooting and then, when the HP Startup Menu appears, selecting Diagnostics (usually F2) and letting it run.
If it is NOT possible to run diagnostics, or if that does not work, then there is NOTHING more you can do by yourself -- and there is NOTHING we can do because we have no way of accessing your PC from here to run diagnostics or repair hardware.
You will need to have the PC physically examined in a service facility by folks that can run their own diagnostics to determine what is wrong with it.
--------------------- Since your PC is no longer under warranty, then it will cost you up front to have HP examine your PC. If you want to do that, you will have to contact an HP Repair or Service Center to see if they can examine the PC to determine the cause(s) of the problems, if it can be repaired, and an estimate of the repair costs.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".