If you want to renew your work permit, you must apply before the permit expires. If your study permit has expired, you must leave Canada. In some cases, you may be able to apply for restoration of status. However, you are not allowed to study until your status has been restored.