You might want to try vigorously rinsing your mouth with saltwater. This could loosen the object and soothe the gums. Try not to rinse with antiseptic mouthwash because this could actually irritate your gum tissues. If the object is still stuck, you can use waxed dental floss to remove it.