Small devices can regulate bladder function much the way pacemakers regulate heart function, by gently activating selected nerves. Brief doses of electrical stimulation strengthen muscles in the lower pelvis in a similar way that exercising the muscles does, or help to stabilize overactive muscles.