I had impacted wisdom teeth before, and it's not a good thing. I now wear dentures at 71 yrs old. If they are infected, it will only get worse, until you see a dentist for some antibotics, and they get them extracted. If cannot afford, as another said, there might be a free clinic in your area.
They need to be removed. The dentist will supply a script for pain.You might need antibiotic as well. If you don't have a dentist, or insurance you can try contacting a dental school or college in your area. They do work for free or low cost. Good luck.