It is likely the swelling caused increase in size of your lymph nodes.
Lymph nodes can increase during head and neck infections(specially nose and throat), thats wuite common, but usually go away in week to 10 days.
If doesnt go away after 14 days please consult your nearest physician /ENT/ head and neck surgeon, irrespective of pain, as it could be due to other conditions which warrants further treatment.
Next Steps
swelling persisting beyond two weeks will need complete ENT examination and FNAC/Biopsy from neck node.