For ones currency to gain value the no Brainer way is to export more than you import . And if you are a large exporter other countries will hold your currency cause they know they can buy stuff from you in anycase.If one maintains a trade deficit constantly there is always a selling pressure on one's currency.
The USD Euro and the Swiss frank are big exceptions since every country buys USD and euros for trade creating a constant buying pressure on them . And rich folks buy the Swiss frank cause the Swiss keep the value of the frank absolutely steady making it a safe investment.
The political way is to increase the role of you currency in international trade read how the Chinese are trying this through digital yuan.
Even we in our own little way by enabling seamless upi transfers to foreign nations .. we doing this with Dubai and Singapore right now.