How to setup an operation and excute?

How do you set up and execute an operation?