Canada or USA?
Canada is cheaper, safer on immigration and has the PGWP; the US has more universities, more funding through assistantships, and higher graduate salaries but a harder work-visa lottery.
Want this answered for your case?
Rules and requirements differ by country, course and university. A counsellor gives you the specific answer. Free.
Ask a counsellor