you need to apply outside of Thailand for a Non/B Visa. You will need documents from the school who Is employing you. The school then takes your Non -B to the the Thai Lsbor Office and they will grant you a Work permit for the length of your contract.