In order to properly evict a tenant, the landlord must have a valid reason for the eviction, and must follow the appropriate steps in precisely the right manner. Whether the reason for the eviction is nonpayment of rent, damage to the property, violation of some other provision of the lease, violation of state law, or because the lease has already ended, generally the tenant must first be given written notice of the reason and reasonable opportunity to correct the problem. The length of this "cure" period varies by state or local governing law and by the type of violation. For example, the tenant may be entitled to have seven days to pay past-due rent and twenty days to correct other lease violations (for example excess noise or a forbidden pet).
If the tenant cures the problem within the required time, the landlord cannot continue with the eviction. If the tenant does the same thing again, the state law frequently permits the landlord to evict without any opportunity for cure. However, each state law is different, and the landlord must follow the law during this process. A landlord who wrongfully evicts a tenant may be liable for damages caused to that tenant.
After proper notice has been provided to the tenant and the applicable time period has passed without cure by the tenant, the landlord must file a special type of lawsuit to evict the tenant and/or collect unpaid rent. The tenant must usually be personally served with notice of the lawsuit, by the sheriff or by a private process server. If that method fails, the landlord is usually allowed to serve the notice by mail and/or by posting the notice on the tenant's door. An eviction lawsuit is usually referred to as a "forcible entry and unlawful detainer" action, and enjoys special treatment by the court, both in terms of being heard quickly in an otherwise busy court, and in terms of an accelerated carry-through of action. The judge may order an immediate eviction at the end of the hearing (trial), but usually the tenant is given a reasonable amount of time to move out voluntarily. Eventually however, the sheriff (never the landlord!) will be authorized by the court to physically remove the tenant, if necessary.