Once you are safely at port, lower your sails by removing the tension from any of the lines, "halyards", holding the sails up. Once you have lowered your mainsail, it may be neatly "flaked" and secured to the boom with several ties, then covered. When your sails are not in use for a significant amount of time, they should be loosely folded and placed in their sail bags. You may need to do this for both your mainsail and the jib. Remove all sail battens from their pockets before folding the main.  Do not fold your sails the same way every time or they will develop deep creases that will not be shaken out by the wind. Your sails should be stored when they are dry and mostly salt-free, as wet sails that are stored are generally inclined to grow mildew. Secure lines by tying them to cleats. Neatly wrap all loose lines up and secure them with ties, out of the way of anyone walking around on the deck. Wash the deck of salt, particularly if you have a teak deck. Salt can leave stains on the wood.

TL;DR in Chinese:
降帆收帆。 清理所有杂物。