The one problem you never want to have in Thailand is when you overstay your visa in Thailand. Rather ensure that you have a correct and up to date Thai visa in your passport, be it a tourist visa, marriage visa or retirement visa than having to go they way many foreigners go and that is by deportation from Thailand.