When the power is off, press and hold the camera and power buttons. Release the camera button when you see the prompt. Then press and hold the down volume key. When you see the yellow exclamation, select the factory reset option.