You cannot claim asylum from Pakistan. If you want to claim asylum you basically have two options: (1) Obtain a TRV (tourist visa) to Canada, travel to Canada and claim asylum when you arrive in Canada; (2) Move out of your home country to a different country. Once you have moved to that different country, be officially recognized as a refugee by UNHCR and identified for resettlement in Canada.