Can a dog swallow the golden ring into the stool? Is it dangerous if it is not discharged?

This morning my white VIP accidentally swallowed the golden ring into my stomach. I don't know what to do. I was anxious. I hope everyone can help?