Create a new contact when a new record is added in a custom CRM module

Create a new contact when a new record is added in a custom CRM module

Hello. We created a new CRM module. We want to create a new Contact each time we add a new record to the new module. Can anyone suggest the best way to do this?