How to ceate a deal from a contact?

How to ceate a deal from a contact?

Hello people..

I need to create a business automatically when a contact is created.

How can I customize a script that does this and creates this business in a specific pipeline?