

Your problem is likely washing your face before shaving, especially if you’re using warm/hot water.
This was a big problem for me as well. My problem was the fact that my face was wet while shaving or was washed before hand, which caused a lot of dryness and irritation. I was recommended to use an electric Philips Norelco tri-head razor, and use it BEFORE showering while my face was completely dry. After showering, your face is too dry from the heat. The shave isn’t as close with the electric as it is with a regular razor, but it’s pretty close and I no longer battle with the acne from shaving, which is well worth the tradeoff.
Regardless, it may be good to see a dermatologist anyway, but that’s what worked for me and was recommended by a dermatologist.
Using hot water beforehand was what caused my irritation. I had a dermatologist recommend using a tri-head electric razor before showering with a dry face. I bought one for $50 a few years back and it’s been a night and day difference for me. I used to get pretty bad skin irritation, despite doing all the suggested things. It’s not as close of a shave, but my skin is a lot healthier. I’ve seen some people say they’ve benefited from only using cold water when shaving, but dry shaving has been the best route for me.