How to create a custom macro?

Hi,

We have enabled the macros, but I don’t know how I can create a new custom macro. Do you know how can I create a new macro?

Thanks a lot.