Which fault code?
There are 2 (or 3 or 4) coolant sensors.
There are 2 on the front of the engine, down below the oil filler....a 2 pin and a 4 pin one.
There is often another one also in one of the water pipes.
Also in the header tank.
Knowing which error you have could help diagnose which sensor.....but the most common one is the 4 pin one.
DO NOT BUY A CHEAP ONE FROM EBAY.....chances are you'll still have an error and go around in circles for weeks (see some older threads!)