This handout explains the process for filing a petition for a writ, which is a directive from a court to a trial court, an administrative agency, or a person to do something or to stop doing something. It includes information on the types of writs, the time limits for filing a petition, what to submit with the petition, and how to request a stay of a judgment or order pending appeal.