Shave with a clean, relatively new razor. After five to seven shaves, replace the blades or discard the used razor. If you frequently get ingrown hairs or razor burns, consider using an electric shaver for a more gentle shave.
Use a razor with a sharp blade