Solution is easy, this is caused by excess heat in your phone, if the cause of heat is the battery change it. If the cause is the new screen,then put the brightness to minimum.
It's time to speak out for your right to repair
We have a chance to guarantee our right to repair electronic
equipment—like smartphones, computers, and even farm equipment. This is a once-in-a-generation
chance to protect local repair jobs—the corner mom-and-pop repair shops that
keep getting squeezed out by manufacturers.
Join the cause and tell your state representative to support Right to Repair. Tell them you believe repair should be fair, affordable, and accessible. Stand up for your right to repair!