Galaxy S7?

So this started last Friday. My Samsung galaxy s7 started freezing at random times, showing an error line on various lines and restarting. What can I do to fix this.
Answers

Donald Trump Supporter

okay you have too much memory delete old files

SRΛSC

Try resetting Android.

Olive

Try doing a wipe partition cache, it wont delete any apps or music or pics or anything, it fixes the freezing and other issues---- 1. Power off the phone. 2. Press and hold the power, volume and home buttons all at once until the Samsung S7 logo appears. 3. Release the power button but continue holding volume and home until the Android logo appears. 4. After 30 seconds or so you should see the recovery menu. 5. Select wipe cache partition by using the volume button to move up and down the menu and select using the power button. Let the operation complete. 6. Select reboot system now. 7. Wait until the phone restarts and then check everything is working.

Nicey8

Back up all your data and do a format of your handphone. if not, send it for repair. Did you install some suspicious apps?

Master Of Puppets

Try booting into Safemode. Push and hold the power button until you see the power menu. Press and hold the power off button until it changes into the "Safe mode" option. Tap it and wait for it to reboot into Safe mode. If the problem still persists, you might need to do a factory reset. If it still doesn't fix the issue, it might be a hardware problem.

bill

Sony xperias are way better I see a lot of men wearing skinny jeans with Samsung phones