hi guys.. i want to transfer my sponsorship now to other company sponsorship also.

so what do i need to do first. find job first and if i have offer letter form other company thats the time i will tell to my boss?

or

finish my contract for 2 years and after that i will get an noc and i will try to find job again, but i think only one month they can give me until i can find job.:(