The idea that something else will replace a compulsion you have overcome is called symptom substitution, and it was an early critique of cognitive behavioral therapy (CBT) and exposure and response prevention (ERP).
Because of the adherence of old-school psychologists and psychiatrists to Freud’s psychoanalysis, many doctors clung to the idea that talk therapy, and not behavioral therapy, was the only real way to solve a mental problem.
They believed that some type of inner pain or conflict must set off OCD. Because CBT and ERP therapists did not “work through” that inner pain, the idea was that once the patient worked on adjusting his behavior to eliminate one ritual, another would just take its place as the new way that inner pain would rear its ugly head.
But research has shown that this is not the case, and it is not true that if you work through a compulsion, another one will automatically take its place. It is possible that there will be other compulsions, but that is largely because most people with OCD suffer from more than one compulsion.
Any other ritual that appears was probably just not as apparent as the one that was eliminated through therapy. So if you deal with one ritual, you move on to the next one until they have all been addressed in therapy.