Laziness with students

How can we prevent the laziness when the students are focusing their gadgets and happiness?