If Immigration put a stamp in your passport for "visa exempt" for 30 days then you can extend at an Immigration office for a further 30 days at a cost of 1,900 baht. After that you may or may not be able to get a Corvid extension depending on your circumstances and the Immigration office.