Here's my old routine though I don't like a super smooth shave anymore. You need the right prep, products and technique.
1. 10 minutes before you shave use a pre-shave oil or wash your face with warm soap + water and use a light cheap moisturizer after
2. Shaving in the shower at the end is best, if not splash lots of hot water on your face when ready
3. Use a genuine badger hair brush along with high quality glycerin based shaving creme, I use geo f. trumper and have for the past 10 years. Stay away from cheap gilette foams and edge gels. Shave with the grain, relather and go against the grain for smoother shave.
4. Use less blades for less irritation, I use a sensor excel with an edwin jagger razor handle (again for the past 10 years though this is unnecessary). I use each blade maybe 5-6 times before tossing.
5. Use an alum block rinsed under cold water to seal the pores and any nicks (though I never get nicks anymore) and then moisturize.
Since I switched from poor technique, products and prep to this routine ten years ago I never get irritation or cuts/nicks anymore.