I have recently started coming out with lots of spots on my face where I shave! I use an electric shaver, do you think it could be from this? I would use shaving cream but it doesn’t react very well to my skin! Any help?

I have recently started coming out with lots of spots on my face where I shave! I use an electric shaver, do you think it could be from this? I would use shaving cream but it doesn’t react very well to my skin! Any help?