Chosen Solution

The letter p does not work on my keyboard but when I flip my iPhone horizontal it works.is there a way I could fix this?

This would mean that spot on the screen is not working. Check the digitizer connection. If that doesn’t work, the display will need to be replaced.