If I have a piece of glass under the skin of my foot, how long will it take for my body to reject it?

This morning I stepped on a small piece of glass. I went crazy with antibiotics and bandages, but there is still a tiny sliver that hurts a lot and won’t budge. It’s pretty deep; how long will it take for my body to reject it?