controlling pc fan with PWM

Hello arduino forum

I am completely new to arduino. I want to make a 12V DC fan controller for a 4 PIN PC fan using an arduino due board using the PWM function. The only problem is I have no idea how or where to start. I want to make it manually controlled ( so not by temperature). I dont know how to make this and i was hoping you could help me with it.
If you need more info let me know :wink:

Thank you in advance

arduino control pc fan