It must be a surgical procedure which led to swelling after the extraction.
Don't worry , it's completely normal but it will take time to subside.
Till then...
Take rest
Avoid spicy or hard food.
Take soft diet.
Don't apply any cloths / other means over the affected area.
Keep your mouth clean and after one day of surgery, you can go for warm saline rinses 2 times a day.
Betadine rinses may also help.
Next Steps
After 1 week , go to your dentist for examination of the extraction socket.
Health Tips
The dentist must have guided you with all the info.
Also , ask the dentist for all the precautionary methods after the procedures everytime.
Take full information for guidance.