He explains this as part of his lessons on Defense Against the Dark Arts, specifically when teaching about non-human creatures. Lupin, himself a werewolf, uses his personal experience to illustrate the dangers and challenges of living with lycanthropy.