Check here the list of countries with visa exemption to Thailand.
If your country is not on the list, you may need a visa to visit Thailand. Please check with your local Thai embassy for details and requirements. https://www.thaiembassy.org/
Check if you need tourist visa to Thailand.