Hello old man
In your case, the status of all the car's electrical installations must be reset to zero. You can simply reset it after replacing or repairing the generator. It depends on the situation. of the generator. If the rotor is broken, most people can't repair it, but if the carbon brush is broken, it costs around tens of dollars, so don't get ripped off.