Update:
Yesterday I was able to install windows on the ssd with an usb, restart it and select in the bios that the ssd was the first boot option. But today I woke up and when I turn on the pc the hdd started and not the ssd, I wanted to enter the bios to be able to change this but in it I couldn't see the ssd, I only saw the hdd and another one with the name "ps3 .." (which it's supposed to be the SSD).
I just disconnected the hdd, leaving only the ssd connected, and it could start perfectly, but when I connect the hdd and it gives me the previous problem again.
It seems that turning off the PC for a long time ruins the changes.