First, request for GCMS to know the exact refusal reason and notes from the visa officer that refused your application. Most of the time, if the refusal is based on the purpose of visit, you need to elaborate on your reason for studying in Canada, your future plan after completing your program...