Go to the immigration office that serves your address to apply for 30 days tourism extension.
If you are in Bangkok, you are going to go to IT Square Laksi Plaza temporary office, just next to Lak Si station on SRT Dark Red Line.
You will go here.
****************************
And you can book online here
********************************************
*****
Here is general information about tourism extension.