After screen replacement, now the screen goes on and off by itself

So I replaced this screen because it was smashed and not working , installed the new one all good , but now I have the screen going off and on all the time like if you where pressing the lock button.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0