Trying to create a new Deal when a custom field is updated

Trying to create a new Deal when a custom field is updated

Hi guys,

I'm having truble in making a Custom Function that creates a new Deal when I update a custom fild in Accounts.

Does anyone know how to do that?