I would have it checked ASAP Just to be safe. It could just be an infection but maybe antibiotics are necessary have it checked :)
Has your child been sick before the gland came up ? It does sound like a lymph node , they do swell if there has been an infection present. Keep an eye on it and if it remains enlarged have it checked out.