First you will need to check the calibration settings in the Settings > Display of your phone. If those options don't solve your problems, then I advise you to perform a Factory Reset. Most likely this happened due to software or something that messed up your calibration settings. Factory Reset is done from the Privacy/Backup and reset (depends on your Android version).