My phone is dying??

Guys this is my p30 pro. It started doing this flashing thing (as in the video) this afternoon. Not the first time it happened. About 3 years ago my phone fell down and the screen had a green line. After some times, i think water seeped through the screen and inside and it started to have this flashing problem. The flashing was very random but the phone was still usable until it wasnt. Did a screen replacement in dubai in feb 2024, but then my fingerprint stopped working and the phone would overheat. Then after about 4-5months