3 basic ways:
1. Work your arse off & save the $$$
2. Have family who supply the $$$
3. Get a loan, often in combination with 1. or 2. above. Some banks offer career development loans that defer repayments until after the course (at a higher interest rate, I think).