Drives not detected

IRONBATMAN

Honorable
Hi,
my PC has been frustrating me a lot lately. It has been filled with problems ever since the first boot.

Today's problem is that the BIOS doesn't detect SATA drives. Sometimes it does, sometimes it doesn't . Now I can't boot my PC into windows.

I have set motherboard settings to ACHI, I've swapped the connectors and wires, I've searched all over the internet. But still no hope.

I hope that re-installing windows will fix the PC , but now, the SSD won't even get detected by the motherboard.

Any input would be appreciated,
Thanks