When i asled them if the screen needs to be replaced they said first we need to format the phone and reinstall the firmware and if the problem continues even after that ghen they would cpnsider replacing the screen. But fortunately it was fixed after...
Best solutions to these issues are to take it service center where they would just reinstall the software and it will be good as new. I experienced something similar with my brother s21 fe but it was fixed after reinstalling the software.