Chosen Solution

my iphones screen got cracked awhile ago, i can live with it cause 200 bucks to fix it is a rip off.but i woke up one morning to colored lines across the screen and it randomly touching things without me doing it, how can i fix it

You will need a new screen your screen will damage more and more through time.

is there no other way, could a ribbon cable just be loose

Very unlikely as the ribbons are held down by a metal plate you could do a hard reset and see if that sorts it.