Shaving can contribute to the occurrence of ingrown hairs, especially if proper shaving techniques are not followed. To reduce the risk of ingrown hairs, exfoliate the skin regularly, shave in the direction of hair growth, and avoid pressing too hard with the razor.