Rectum pain on period

Does anyone get a really sharp pain near their rectum that can last for 4-5 seconds when on their period? I keep wondering if something is wrong. I sheepishly asked a Dr. once, I was so embarrassed, but she had no idea.