If the object is under the upper lid, repeated blinking and a careful rinse may help
https://ieturesglk.raindrop.page/bookmarks-76767265
If the object is under the upper lid, repeated blinking and a careful rinse may help, but persistent pain means it should be examined.