Sometimes objects can get stuck in your rectum and require surgery to remove.
If the object is still stuck, you need to see a doctor. If left alone, the object could damage the walls of the rectum, allowing bacteria to enter your bloodstream and cause infections.
Don't worry, you'll be surprised how many times a doctor deals with these cases.
Well for starters don't ever put one there again. You'll just have to wait for it to come out, it IS in your rectum after all, eventually something will come along and take it out with itself.