External FAN or Motherboards FANs

Dears

is there is script can be edit to control a motherboards FANs or external 4 speed FAN regarding to height GPU FAN.
for example I have 4 FANs connected into Motherboards with variable speed I need to use it to cold down the GPU , and when its cold go to normal speed of 10-20%.

Regards.