THE PAIN AND SWELLING is due to development of dry socket
and traumatic extraction undergone.
As the x-ray shows TMJ
dislocation,jaws has to be immobilized and splinting or intermaxillary fixation has to be done if required.
Gargle with warm saline .Rinse your mouth after every meals.
Take complete course of antibiotics-analgesics.
Maintain oral hygiene
Please do visit a dentist
for further concern.
Hope this helps.