You might have palpated cervical lymph node which usually gets enlarged during respiratory tract infection. If it is painless and less than 1cm in diameter you need not worry about it as it is common in general population. If it's enlarging in size, painful and multiple in number then consult nearby ENT specialist
Next Steps
Consult nearby ENT specialist for confirmation of diagnosis and appropriate treatment if required