There's often a "move in - move out" checklist that can be used at the time of signing. Note every little thing. Photographs can be helpful. Some small things can and should be attributed to "wear and tear" such as a scuff and can't be charged to the tenant, but it doesn't hurt to document. It also doesn't hurt to leave the apartment every bit as clean as when you moved in.