Upvote:2
You will need a Canadian visa to visit Canada (unless you have a passport that is visa-exempt to Canada, in which case you will need an eTA if arriving in Canada by air).
When you return to the US, yes, you can enter on your US student visa if you are within 30 days of the start of your student program.