Thanks for your query, I have gone through your query.
The pain, swelling and limited mouth opening could be because of the
gum infection over the wisdom tooth (
pericoronal infection leading to space infection).
Consult a oral physician and get a radiograph done to rule the amount of space present for the tooth to erupt if space is there for the tooth to erupt then the gum covering over the wisdom tooth can be removed.
If the space is not available then you have to get the wisdom tooth removed.
Mean while you can take a course of antibiotics like
amoxicillin 500mg and
metronidazole 400mg tid for 5 days (if you are not allergic).
Do saline gargling.
The other possible cause of the limited mouth opening can be disc displacement in the Temporomandibular joint. For this You can take anti inflammatory drugs like piroxicam 20mg twice daily on first day and twice daily on next 6 days. You can also take muscle relaxants like
chlorzoxazone. You can give hot fomentation over the joints. Do not eat hard things, do not open your mouth too wide. take soft diet.
i hope my answer will help you, take care.