How to factory

How to factory reset camera. The WiFi signal on the camera is low. WiFi card might be bad. Camera stops connection frequently.