Freud presented a model of analysis (directed to the Analyst position) called “Remembering, Repeating (or Recreating), Working Through”.

“The patient, instead of remembering the past situation will act it out unconsciously in a compulsive way, by repeating the past repetitively instead of remembering it.
The compulsion to repeat is actually an act of transference.
The essence of transference is repeating the past unconsciously.
The resistance and phobias of the past are also transferred and played out as a resistance in the present treatment, preventing the analysis from progressing.
The acting out defends against the memorization, which means, the more acting out the less remembering can take place, and vice versa is also true, the more remembrance the less compulsive behavior.”