Question After not using it for a while, my pc stops sending a signal to monitor

Jun 20, 2023
1
0
10
If I don't use my pc for a while, like while I'm sleeping, then it just stops sending a signal to my monitor, and I have to restart it (after restart it works fine without doing anything with the cables)

specs:
cpu: Ryzen 9 5900x
gpu: RTX 3080
ram: 32gb ddr4 3200MHz
task manager won't tell me anything else (mine was pre-built, bought by my dad, about my ssd all I know is that it's 6 terabytes)