Marvolo Gaunt had no idea that the Gaunt ring contained the Resurrection Stone. He just used the ring to prove his blood supremacy to anyone who would listen, as he did with Bob Ogden. He got the Resurrection Stone along with the ring as a family heirloom which was passed down through generations of Gaunts, all the way from Cadmus Peverell, who was the original owner of the ring.