If your Nikon camera is displaying "foc", it is indicating that it is unable to focus properly. Here are a few steps you can try to resolve the issue:

1. Clean the lens: Sometimes, dust or dirt on the lens can prevent the camera from focusing accurately. Use a soft cloth or lens cleaning solution to clean the lens gently.
2. Check the autofocus settings: Make sure the autofocus (AF) mode is properly selected on your camera. Some common AF modes include single-point AF, continuous AF, and automatic AF.
3. Check the focus area: Ensure that the focus area is set correctly. You can adjust the focus area using the focus point selector or menu options.
4. Check the lighting conditions: Low light or lack of contrast in the scene can make it difficult for the camera to focus. If possible, try to improve the lighting conditions or use a different focus mode, such as manual focus.
5. Reset camera settings: If none of the above steps work, resetting the camera settings to factory defaults may help resolve the issue. Consult your camera's manual for instructions on how to perform a factory reset.
If the problem persists, it is recommended to contact Nikon's customer support or take your camera to an authorized service center for further assistance.