It depends on which part of the world you belong to. Thanks to the Schengen Visa system, citizens from the United States of America, Canada, and Australia, can stay in Switzerland for 90 days without a visa.
However, if you are a citizen of India, then it would be best to apply for a proper visa a few months in advance. You can apply for a visit, tourist, or business visa online. Before traveling to the Schengen area, you may want to ensure that you have a valid permit with you.