repetition-compulsion

[rĕp′ĭ-tĭshən-kəm-pŭlshən]
n.
  1. In psychoanalysis, the tendency to repeat earlier experiences or actions in an unconscious effort to achieve belated mastery over them.
The American Heritage® Stedman's Medical Dictionary Copyright © 2002, 2001, 1995 by Houghton Mifflin Company. Published by Houghton Mifflin Company.