Does anyone know how to select with module a Custom Modules is related too?

Does anyone know how to select with module a Custom Modules is related too?

Hi,

Does anyone know how to select whether a custom module is related to Leads, Contacts or Potentials?

I have custom modules related to both Leads & potentials but unsure how i change relation.

Also does anyone have a work around for custom modules related to leads, that upon conversion related custom modules are linked to contacts? ATM these custom modules stay associated to leads?