No, the virus that causes verruca and warts starts very deep and moves its way up to the surface of your skin, and it definitely starts deeper than is safe for you to be taking a razor to. Chopping the top off it will superficially help it for about a day or two before it grows back. Go to your doctors and have it blasted with liquid nitrogen by a nurse, it only takes 5 minutes!