You seem to be suffering from temporo Mandibular joint dysfunction. Usually it will resolve on its own within few days. You can use hot compresses, soft diet, painkillers for few days
Next Steps
Consult nearby maxillofacial surgeon for confirmation of diagnosis and appropriate treatment if required