Question for loss function

Greetings to all
I am a beginner student I am working on coordination between fiscal and monetary policy, and I want to find the optimal combination of the two policies that achieve the lowest loss to the economy.
Any directions or help?
My greetings