You should always disconnect the battery before working on your car's electrical system. By doing this, you can avoid electric shock or accidental property damage while working.