Neck swelling subsided with antibiotic means it was inflammation of lymph
nodes. This is usually due to bacterial infection secondary to primary site of infection. This site could be in nose, throat, mouth or ear.
Did you have cold, sore throat
, mouth ulcer
or ear problems before onset of neck swellings?
Once the primary source of infection is treated those neck swelling will not recur.
You please consult an ENT specialist
Till then you can take pain killer if it hurts too much.
Wish you good health.