No use to shout at them to pay attention. If the situations, the materials, the problems before the child do not interest him, his attention will slip off to what does interest him, and no amount of exhortation of threats will bring it back.