Double D uses bandages to inflict pain on Ed and Eddy whenever they demonstrate poor manners. His goal is to improve their behavior. After just a short time, it appears that his strategy is working.
Double D's strategy is an example of positive punishment since an unpleasant stimulus (the removal of the bandage) is applied to decrease a negative behavior (yelling or being rude). This concept is not explained entirely correctly in the clip, however. Double D explains that his actions remind Ed and Eddy of their manners (a reinforcer for positive behavior) rather than punish them for their negative behavior. Regardless, this clip is an excellent illustration of operant conditioning.