It could be a lymph
node swelling .
If it is infected and inflammed,it will be painful.
But,you have to get examined by a surgeon.
You can get correct diagnosis with Fine needle aspiration cytology of the swelling.
you can proceed depending upon the report.
Wish you good health