Your landlord has 30 days from the date you move (or 30 days from the date you give written notice of your forwarding address) to refund your security deposit. If the landlord withholds for repairs, you are entitled to a written, itemized list of the damage and cost of repairs and the balance of your deposit after the repairs are subtracted. If you disagree with the deductions or your deposit is not refunded, you can sue in small claims court to recover the entire amount. Contact the Justice of the Peace court in the precinct where the property is located for instructions and forms.
You can also find information on how to sue in small claims court, along with links to small claims forms, at How to Sue in Justice Court (Small Claims Court).