Surplus should not be a problem, but it may cause international conflicts and waste of resources, so just reduce exports.
If there is a deficit, it will be more troublesome. We can expand exports, reduce imports, or use reserve funds to fill the deficit.