it could be a stie,go to the docs,if it is that people say to rub a gold band over it.
I would check with your eye doctor, when it comes to our precious eye sight, one can not be too careful. Off the top of my head, the only thing I can think of is it could be is a sebaceous cyst, and that would need to be checked too.
Wish I could answer better, but, things like this do require a professional.
Get in to see your Dr to find out what's going on. This lump could be scratching your eye. I wish I could tell you what it is but I'm just not sure. Remar