The Wi-Fi option has to be turned on in the setting menu in order for the Wi-Fi to work. Wi-Fi also will not work if the signal is too weak, this means you are too far from your phone. If these are of no help, try looking here: Nikon CoolPix S9700 Troubleshooting
The flash will not work unless the flash is turned on in the S9700 settings menu. Try other shooting modes as well. If these don’t work, take a look at the Nikon CoolPix S9700 Troubleshooting
The S9700 will turn itself off to save the battery, when it sits inactive for a period of time. Also check the battery, the S9700 will turn itself off if the battery is dead. Try taking a look at this page for more information: Nikon CoolPix S9700 Troubleshooting