What is compulsive behaviour?

Compulsive behavior is behavior that is triggered by an irrational cause such as checking to see if all the doors in your house are locked even though you know you already locked them all.