Your employer needs to lease with immigration to figure out what needs to be done. Sometimes easier to leave the country, buy a non b abroad and re enter. All depends how the company is set up.
There is no minimum time stipulated in law as to how long you need to be out of the country before you can return to Thailand. Some land borders have a local rule of 1 day ( I can't remember where now) . It all depends on your circumstances really, how long you been in Thailand ,how many extensions bla bla bla. Also some entry points appear to be more laid back than others. Have the 3 proof of's ready and you should be good to go.