irf520 and fan

Hi i want to start/stop a 12 volt fan using arduino to decrease my raspberry pi temperature.
I have this fan

I have a irf520 mosfet and a 12volt 1A adapter
How can start/stop (maybe also adjust the pwm) the fan using arduino?
Thanks you

You would need a logic-level (*) MOSFET, not an IRF520 which takes 10V gate drive.

That fan has 4 wires so this might be useful:

(*) perhaps 3.3V logic level for a Pi.