In Switzerland, you have to pay wealth tax and income taxes on your investment. While you have to pay wealth taxes on your whole account, you are only subject to income taxes on dividends that are paid out and not on capital gains.
According to Swiss tax law, you are not required to pay taxes on capital gains as a private investor. This means, you do not have to pay taxes if your shares increase in value, even if you decide to sell them. Income tax will be charged on dividend payouts which usually make up a small percentage (around 1%) of your return on investment.
As an example, with a 10'000CHF investment, you can expect around 100CHF dividend payout on which income tax will be charged. The income tax rate depends on your tax progression and where you live in Switzerland.