You have to buy the KR Pass before arriving Korea, STA travel is one of the Koreal rail support company.