@Dallas ****
so you don't even have a visa at all. You have visa exempt (entry stamp with no visa).
There's no minimum time you need to be gone. You can even return the same day. But you need to stamp out of Thailand, stamp into another country by crossing through passport control there, then stamp out of that country before returning to Thailand.
If you leave Thailand and return immediately too many times, you'll get questioned at immigration about why you're spending so much time in Thailand without a proper long-term visa. You can probably get away with it 2-3 times before it becomes a problem.