Hello...
You have not mentioned the site of pain and swelling..
Is that in upper Jaw or Lower jaw??
Usually wisdom tooth causes pain while erupting, if its unbearable and if you have Swelling you Need to visit Dentist and might need an X-Ray, it needs immediate attention.
Next Steps
avoid eating hard on that side..
brush well on the effected area..
use mouth wash or garagle after every meal..
Health Tips
keep the Painful area clean..
you can take painKiller for immediate relief..
visit a dentist.