I imagine people would have had things like natural stones or barber hones for home use, or taken their razors to the local barber for him to sharpen.