If it's on and off very occasional, could be just a sign of dry eye. If it's occurring frequently in the same eye on same location it could be a localised inflammation which most of the time needs an anti inflammatory medication and in some may need few investigations.
Next Steps
would suggest to consult ophthalmologist if it's associated with pain or blurring of vision. Otherwise can use Nepalact eye drops 3 times daily for 1 week and Eyemist eye drops 3 times daily for 2 weeks
Health Tips
Not to rub eyes if it's associated with itching sensation. Instead wash with clean water and use Eyemist eye drops if sensation is severe