That's true, there are 2 main approaches, but they both have real costs, and neither is obviously better than the other. In the face of a severe economic shock, such as the global financial crisis of 2008 or the pandemic of 2020, you would expect to see unemployment increase. The two approaches to reduce that unemployment are:
1. Keynesian stimulus. The government could stimulate demand, either by increasing the purchases where it is the final consumer (military, education spending) or it could give money to citizens so they can spend more. It's important that the increase in spending is not initially offset by tax increases, so this means the government has to take on debt.
2. Devalue the currency so as to help exports. This way you avoid taking on debt, instead you rely on increased money from exports to stimulate the economy. But here, instead of debt, you pay for the stimulus via inflation, as imported goods are now more expensive.
Keep in mind "increase exports" is relative to what your main trading partners are able to consume. The EU is the main trading partner for Poland. When the EU is in a deep recession, Poland's exports can be expected to fall, so "increasing exports" might only keep them at their previous rate (the rate that existed before the crisis).
Whatever you do, there is some cost. Either you take on debt or you take on inflation. There is no way out of the crisis that is completely free.