It’s simple, read the website of the Thai Embassy you will use.
Search this group for that specific Embassy.
Fill out the application at
***********************
(where you also find a user manual on top.)
You can pause the application at any point, if you need to further investigate something or get more documents.
Apply from another country than Thailand, and stay in that country until the application is processed and visa granted/ rejected.