Go to your local immigration and get handed over their requirements as Brandon states. This is the general requirements for a regular Non O visa based on retirement at the immigration in Bangkok only as you have a clue. You’ll need 15-21 days left on your current stamp depending on where you apply.
******************************************************************