See an eye doctor
This can represent an allergy, an infection or an inflammatory process.
If the spot is on the eyelid it needs to be treated differently than if it is on the eye
itself. In either case, you should have an eye doctor evaluate it so that the appropriate treatment can be started.