Grasp the smoke detector cover and twist it off. Depending on the brand, the cover may still be attached to the smoke detector via wires. If so, let it hang down while you work. If it is not, set the cover in a safe place.
Press the off button. Smoke detectors vary by manufacture, but look for the off button on the side of the alarm or in the center, once the cover is removed.
Pull on the wires that attach the smoke detector to the battery to disengage them.
Remove the battery from the smoke detector. Have the smoke detector serviced, then reinstall immediately.