Basically, all you do is remove and replace them in the same places they are. When disconnecting, start with the ground wire. Next, remove the ground from the battery, engine block, and any body grounds attached. Remove the positive while the ground is not connected to the battery. Do the same with it. When replacing to the battery, replace the positive first then the ground.