Normally, within 30 to 60 days at the end of lease, you must inform the landlord of your intention to either renew the contract for another year, or enter an agreement to go month to month with both parties having the right to give notice, or else announce your plan to vacate the premises. You should not just vacate the premises without any notice. Don’t forget the notice clause in your lease.
Immediately after you vacate the premises, the agent normally will meet with the landlord and tenant to walk thru the premises looking for any damages beyond normal wear and tear, and to reach mutual agreement about any issues.
Bills in the landlord’s name, such as electricity and water (which cannot be switch to a foreign tenant’s name), must be settled by contacting the utility companies to get a read of the meters on the date you move out. After all bills are cleared, and all issues resolved, then the landlord returns the deposit.