Compulsive behavior is when you do certain things over and over again, even though it isn't always a good idea. It can be things like checking to see if the door is locked many times, washing your hands very often, or organizing items in a certain way. Compulsive behavior might cause you to spend a lot of time doing certain tasks, and might even make it hard for you to do other things.