Moving object inside MacBook: is it a big problem?
If the object is metal, it has the potential to short circuit something and possibly cause an expensive repair, especially if it shorts the system board. Even if the object is not metal, if it can get in the fan it may have potential to damage it.

I would immediately shutdown the computer and take it to an Apple Store or qualified repair center if you cannot investigate yourself.