OCD is an anxiety disorder characterized by either Obsessions (intrusive, repetitive thoughts that won't leave the mind and that cause great anxiety) or Compulsions (repetitive behaviors that are designed to reduce anxiety brought on by obsessions).

 

OCPD, on the other hand, is a personality style characterized by a preoccupation with "orderliness, perfectionism and mental and interpersonal control at the expense of flexibility, openness and efficiency.