Thank you for clarifying,
Most likely what you are feeling is a lymph node that is enlarged....(called a posterior auricular lymph node).
Lymph nodes in this area will react to inflammation or infections of the scalp and ear...even small breaks in the skin can cause the lymph node to become inflamed/enlarged.
Lymph nodes themselves can occasionally become infected. In this case, they are usually quite tender to touch and red as well as somewhat soft.
What I would do for now is take advil for pain, do not clean your ears (if you do...this can cause breaks in the skin of the ear canal) and try not to worry about it or keep touching it.
Worrisome lymph nodes become larger than 1 to 2 cm in size. Other concerning symptoms include unexplained fever, weight loss and night sweats.
The other possibility is that it is a sebaceous cyst, which is a benign growth that can occur anywhere on the body. It is a cyst that is filled with a cheese like material. They usually cause no problems unless they become infected. In this case, they are red, warm, painful and full of pus.
Have your doctor take a look at it in the next week or so.
Feel free to ask any follow up questions you may have,