It depends on your nationality. Citizens of some countries may need a visa to visit Canada, while others may only need an Electronic Travel Authorization (ETA). You can check the requirements on the official website of the Government of Canada.