If your Canadian study permit expires before you finish studying, you must apply to extend your stay as a student. If you don’t, you will have to stop studying and leave Canada.