The court will then issue a court order to deport. Once you have a tentative date of repatriation, you or your representative will have to arrange to get a ticket to leave Thailand and return to your country. You will also need to settle the fee for your transportation to the airport.