Rinse your eyes gently with clean water or saline solution, and avoid rubbing them. If the sand or dirt doesn’t come out, or if pain persists, seek medical attention from an eye specialist.