If it is the front radiator fan, it should go off with the ignition. If it is permanently running with ignition on then that is likely open circuit on the ECU water temp sensor. Either sensor has failed , become unplugged or has a broken wire.
If it is the engine bay fan it should time out after 8 minutes. But needs to be really hot back there to come on, we are talking a hot summers day and a high rev thrashing. If it is on normally, then failed eng bay temp sensor.