Behaviors are repeated because they provide a pay-off for the cat. If your cat is displaying an unwanted behavior, there's a valid reason from the cat's point of view. It could be due to a medical issue and the behavior is providing relief, or it could be how a cat relieves sress, or the behavior could be a normal, natural behavior in the cat world (such as scratching on a object). Your job is to figure out the reason. Once you know the underlying cause, you are in the best position to fix the problem.