You may in pain because teeth are trying to emerge.
The pain may be due to the teeth being blocked from erupting (impacted or partially impacted), in which case they be damaging adjacent teeth and/or supporting tissues. Pain may be due to an infection. See a wisdom tooth specialist, an Oral Surgeon, for x-rays and an informed opinion. Can't make that decision for you without examination.