According to Nolo, before an eviction trial, the tenant must file an answer with the court. The answer will detail any defenses the tenant wishes to make to challenge the eviction. At the trial, the tenant must prove any defenses made in the answer. The judge will listen to both the tenant and the landlord and then make a final decision regarding the eviction.