I have difficult students in my classroom. Every time I have to invent ways to deal with their distraction. For me personally, the main point is to understand why they misbehave. Sometimes it may be really illogical. For example, one of my 10-year-old students was always disgruntled and grumbled about homework. I asked her why she had been doing so. She told she was in love with her guitar teacher. 🤷♀️