Hi
Welcome to the MedHelp forum!
Actually a subcutaneous skin (under the skin) nodule—the size of a pea and firm, is usually due to a neurofibroma (connective ad nerve tissue), a ganglion cyst or a lymph node.
If the same side ear is paining—then it could be a swollen lymph node due to ear infection or impacted wax or even dandruff.
Since I cannot examine you and know other related conditions you may be having, nor is a detailed history possible on net, I have listed the various possibilities that should be looked into. Please consult your PCP and ENT for primary examination followed by proper referral. Take care!
might be lymph node...if its firm and not moving u need to test is if not go to ur doc and check ur ear u might got it inflamed if it is a lymph node it can be from 23456754343232 reasons not only cancer
be well