You should determine the exact component that is causing the issue of a black screen.
For this, restart the computer first in Safe Mode.
Before troubleshooting, first take a backup of all the system files.
Then determine which component is causing the problem.
Find the extent of the damage caused by this problem.
Then measures should be adopted to solve the issue.
If the issue cannot be solved by you alone, then HP customer care should be contacted.