Controlling PC cooling fan that has a PWM input

Thanks for the in formation.
As I am new at this, which varible changes the speed, what are the 0% and 100% numbers, and will this work on a mega 2560 R3
Thanks for you help.