Hello,
Welcome to HCM.
I understand your concern.
There may be couple of reasons for a hard non-movable lump behind ear.
Most commonly, it can be an enlarge lymph node. It can be slightly painful if pressed. Reason for having
enlarged lymph node may be some infection in throat, ear or scalp. You have mentioned that you have this since almost 4 years. If you also have history of
dandruff, than the lump is enlarged lymph node due to dandruff in scalp.
If you have any sign of these infection, than treating these infections will cause the lump to vanish.
Other possibility is having a sebaceous cyst or
epidermal cyst. But they will be slightly movable with the skin and not very fixed. They can be removed surgically.
One more possibility is having
benign tumor like lipoma or
cholesteatoma of mastoid bone. Lipoma is again movable along with skin while cholesteatoma is associated with some hearing problem. So, they are less likely.
Hope this will be helpful.
Take care.