Thanks for query.
It seems that you might got due to hard hit you might be getting some injury
to your Temporo mandibular joint giving you this problem.
It is also possible that there might be partial dislocation of the joint.
Take some anti inflammatory medicine for 2-3 days, if there is no improvement then go for x ray
TM joint ans consult orthopedic surgeon.
Ok and bye.