Detention can be a very effective form of punishment. It can stop students from misbehaving and help them reflect on their actions. ... For example, students who are late for their lessons often should be made to stay at school after classes have ended.