The answer to 'how to maintain floor' is to regularly clean and care for your floors to keep them looking their best. This includes sweeping, vacuuming, and mopping on a regular schedule, as well as using the right cleaning products and techniques for your floor type.
For hardwood floors, sweep or vacuum weekly and damp mop monthly using a pH-neutral wood floor cleaner. Avoid excess water and harsh cleaners. For tile or vinyl floors, sweep or vacuum daily and damp mop weekly using a floor cleaner made for hard surfaces. Avoid abrasive scrubbing pads. Carpets should be vacuumed 1-2 times per week and professionally cleaned every 12-18 months.