The answer 'where to apply for a visa' depends on the Swiss authorities and their regulations in your country. However, in general, the following bodies offer admission to Switzerland:
A Swiss consulate
The Swiss embassy
A visa application centre