A.
go to the nearest police office to report the loss, and get a certificate back.
B.
contact the related Embassy in Thailand to get a new replacement passport or temporary residence certificate
C.
go to the local public security bureau to re-issue visa with replacement passport or travel document
D.
continue the unfinished trip and leave Thailand