Welcome to Android Central!  You'll probably have to bring it to a repair shop for closer inspection.  A loose ribbon cable would still require the phone to be opened up, so unless you're really experienced with repairing phones, I'd leave it to a professional.