S2E16 · Bart's Dog Gets an 'F' (1991)
After a series of destructive acts, Homer decides that Santa's Little Helper must go unless he passes obedience school. As the dog's last hours with the family approach, Bart must find a way to get through to him.