Welcome, @Trajko00!
You should get into the BIOS interface and find where the SATA mode selection options are. Check in the Advanced Settings/SATA configuration. You could also refer to your official motherboard manufacturer's website or the mobo's manual to see where you can find these settings.
Good luck!
SuperSoph_WD