Chosen Solution

I recently bought this iPhone (second hand) and it’s starting to show some issues. It doesn’t respond to touch and has these weird little boxes on it. Anybody know how to fix it or what the problem is? http://imgur.com/AHXpkeB (Picture of the screen)

Thanks for posting a picture, that definitely helps. It would appear that the screen connectors are not fully seated. Normally inside the iphone there is a little shield over the connectors that puts just enough pressure on the screen cables to keep them plugged in. Sometimes when being repaired these shields are left off (who knows why?!) and then if the phone is subject to shock then there is nothing holding them plugged in and they become dislodged. This should be an easy fix, just get yourself a pentalobe screwdriver and a 00 phillips and you should be well on your way. Be careful of the booby trap Touch ID sensor cable (open slowly).