Is it bad to have a piece of glass stuck in my foot without taking it out? If so, what can go wrong?

I recently stepped on a small piece of glass in my home and was unable to take it out.