How do we define our cost function?

We have a model, our likelihood function.

How should we define the cost function?