Every child will have this problem, which requires the efforts of parents. Maybe you can implement a reward system, such as writing more and watching TV for five minutes, but don't let the children form the bad habit of doing nothing without reward. Another way is to let children understand the importance of learning, let them learn to learn independently and set an example for them. If children often watch TV or play computer after finishing their homework, they should reduce computer games or TV appropriately. First, it can neither make children addicted, but also protect their eyes. Or parents can start with their children's interests, cultivate their hobbies, and make them fall in love with learning instead of being forced to learn.
I hope I can help you.