Got fingered by my boyfriend.... HELP !!!

So today my boyfriend fingered me till orgasum twice! So when he was going it the second time he felt something in a Shape of a ring, and when he pulled on it... it began to hurt... what could it be