@kakadu31 have a look at the M106 documentation:
https://duet3d.dozuki.com/Wiki/Gcode#Section_M106_Fan_On
It shows how to set the frequency etc.

That said you should expect the defaults to work properly in most normal situations.