Thanks for your query, I have gone through your query. The pain, clicking sounds, limited mouth opening could be because of the bruxism and malocclusion leading to disc displacement in the Temporomandibular joint. Consult a oral physician and get it diagnosed, you might have to take radiographs like TMJ views and MRI done to confirm the diagnosis. 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.