Help screen glitches and crashing


I've had my Galaxy Tab S since May and lately there have been a lot of crashes where the device will reboot or the screen might put itself on standby. Was finding it to be a problem with Snapchat the most so I uninstalled and started getting rid of any apps that might cause a crash. Formatted my device and it seems to be happening again the same if not more and I barely have any apps installed. I'm getting horizontal glitch lines in the display as well at times and this is usually a tell that it is just about to crash. Dunno what to do as I don't have a warranty. The device is pretty much in perfect condition so its a bummer to not have it working.