Put on your safety gear. Sparking batteries can be very dangerous. If the battery suddenly explodes, you do not want to get battery acid in your eyes. Wear safety goggles to protect your eyes, and wear insulated safety gloves to help guard against an electric shock.
Disconnect the negative battery cable from the negative battery terminal by turning the nut on the cable clamp counterclockwise.
Slide the negative cable clamp off the battery terminal. Once this is done, there is little chance of the battery sparking.
Loosen the nut on the cable clamp that secures the other clamp to the positive terminal.
Slide the positive cable clamp off the battery terminal.
Grab onto the sides of the battery with your hands, near the bottom if possible, and pull the battery up and out of the engine bay.
Lower a new battery into the battery tray and reconnect the positive battery cable to the positive battery terminal. Then, tighten the retaining nut to secure the clamp to the terminal.
Slide the negative battery cable clamp over the negative terminal and tighten the retaining nut to secure the clamp to the terminal.When your car battery starts to spark, you need to change it right away. Damaged electrodes can cause the terminals to arch. An electric spark jumps from one electrode to the frame of the car, or to the cable clamps. This can become a dangerous situation and in extreme situations can cause the battery to explode. To prevent this from happening, you will need to buy a replacement battery. You'll also need to take proper safety precautions such as wearing insulated gloves and safety goggles while working with the battery.