iPhone screen becomes unresponsive and taps random things
First of all, I am on iOS 14.7.1 and will not be updating as I experienced poor battery life on a different phone on the same model. I sold my old SE 2020 after updating it by accident and the battery life became worse, so I sold it and bought one on iOS 14 but that should not be relevant.
The screen shows a purple mark in the bottom right corner of the screen when pressed down and often presses random things on its own and certain areas of the screen glitch out and consistently press and release or tapping one area will trigger in another area. I keep seeing threads about this issue suggesting about 3D touch sensitivity but that is not my issue, 3D touch works fine. I can get it fixed if its a hardware issue, I just want to know what needs to be fixed.
iPhone SE (2nd generation)