Wash with normal water (or saline) if necessary, apply antibiotic ointment, and get a bandage. Don't use alcohol, hydrogen peroxide, or any of those 19th-century disinfectants; they have a nasty tendency to kill your own cells, too. Unless you have glass deeply embedded in your foot, a doctor visit is probably unnecessary; it should come out on its own.