It normally turns on when you plug it in, but if it remains idle, the screen is supposed to go back to sleep and stay asleep. If the screen turns off, then turns back on again repeatedly, then the charging plug's connection might not be secure. If it's repeatedly disconnecting and then connecting again, that could cause the screen to turn back on.