How do you address compulsive behaviors in the classroom?

Compulsive behavior or rigidity can be disruptive in the classroom. How do you address these behaviors and introduce reinforcements to achieve a desired behavior?