It happens after surgical removal of wisdom tooth.
For that you can take prescribed medicines.
Along with that, take precautions to maintain oral hygiene by rinsing with lukewarm salt water after every meals & apply ice pack EXTRAORALLY to affected area.
Next Steps
for prescription you can consult online through Practo on my page.
Health Tips
If possible, do light exercise of jaw opening & closing slowly -slowly, but don't stress to much.
please, avoid self medication.