Razor bumps

basic

Does anyone know how to stop these razor spots when shaving down there? They happen at the side of my vagina and I’ve tried everything to get rid of them. Could it be the way I’m shaving?