Do I have to take out a loan?

No, the choice is yours. You can personally pay for your course in full, or opt to pay part of the fees yourself. Alternatively, you may want to talk to your employer as they may be prepared to pay for some or all of your course fees.