How to dry shave?

So I shave my legs and stuff but I don't use shaving foam or gel as it irritates my skin so does anyone know how to dry shave like with a razor or make DIY shaving cream stuff? If know plz comment thx