Check whether there are any service shops nearby, usually in big cities.
Regarding whether the problem is a hardware problem, back up the data first and then reinstall the system. If the problem remains, it must be a hardware problem (you can test it without installing the system, and you can have a PE optical disc system).
Btw, HP home computers are generally guaranteed for two years, as soon as possible ~