How to treat razor bumps Razor bumps can develop when a person shaves and the hair gets trapped beneath the skin. In this article, learn about how to get rid of razor bumps and prevent future ones from forming.