Is this the correct way to make a temperature activated fan?
The average PC fan is not a simple motor that can be controlled by changing the supply voltage. The speed is varied by using a pwm signal. There should be plenty of examples on the interwebs on how to vary the speed based on temperature etc using an Arduino or suchlike.
Note that this site is for Q and A and not a design on request service.