If you have been given a voucher code, you must login or sign up with an email address and a password first before you can use it.
Afterwards, go to My Courses and then Use Voucher Code