If you see stars or sparkles in your vision from time to time and it only lasts a few seconds, it's probably nothing to worry about. This often happens after rubbing the eyes or with brief changes in blood pressure.