Go to your settings go to about phone scroll down press reset look for these options in the image and this is where you can reset it all Wi-Fi and data
If you have been hacked, reset your device and DO NOT backup anything except important images and videos! Apps may have been hacked too. If you cannot reset, use Smart Switch on PC to reset.