There are different models of sharpeners for sharpening the blades of a safety razor. In the past, people used a razor strop on which they pushed the knife back and forth.
You can also use a concave oil stone to sharpen the blades. [MOT]
Safety razor sharpener MOT V 2018.0253 a-c3