How can i fix the monitor if they turn black after i open the computer?



Verify your cable connections between the computer and the monitor.

Check the refresh rate selected in your GPU's control panel and ensure it's not beyond the supported range of your monitor.

If possible, hook the monitor up to another computer and see if the same problem occurs.