You generally have 30 days after trial to appeal. Some states I believe simply review the papers filed and rule.

Others, such as Montana, you move up to District court and retry the case.