Information on how to apply for a study permit is below. Note that you will first need to be accepted by a school in Canada for a full time program. You will also have to show a bank balance of at least $25K to cover your tuition and living expenses - and show you have strong ties to your home country and have no plans on remaining in Canada long term. There is no guarantee your spouse will be allowed to go with you. http://www.cic.gc.ca/english/study/study.asp
If you want to apply as a refugee you first need to be recognized as a refugee by UNHCR or a similar referral organization. http://www.cic.gc.ca/english/refugees/outside/index.asp