Question Disabled CSM and Black Screen

Oct 14, 2021
I really need some help, I disabled the CSM and enabled the secure boot on Bios and now my computer turns on but the screen goes black and makes 5 beeps, I checked the cpu and everything is fine. The motherboard and the processor are practically new, it's been a while since I bought them. I've tried Reset CMOS but safe boot is now enabled by default on my computer. I don't know what to do anymore, I've taken all the pieces out and put them back in, I put in other ram memories and none of it comes out of the black screen and 5 beeps. Before I messed with Bios my computer was working normally, I just wanted to put Windows 11

Cpu: I5 9400f
Gpu: GTX 1060 3gb
Motherboard: H310M S2V 2.0
Ram: 16GB