Sounds like ingrown hairs maybe? If you shave, its common.
Hello~They could be in-grown hairs, for some reasons, when that area is shaved, they are more prevalent. However, it they continue, you do need to see a physician. The fact that some blood or pus comes out, tells me you possibly do have an infection. Please stop popping them, that, too, can lead to infection.