based on the limiting information you have posted you may have a tmj disorder (temporal-mandibular joint). see a dentist or oral surgeon that specializes in tmj disorders so that you can be properly examined diagnosed and treated.
right side of jaw clicks when i open and when i move it side to side. i feel limited in how wide i can open. no pain. happens a few times a day usually when i open my mouth wide to eat. sometimes i wake up and can't open very far. no pain but very inconvenient and i'm terrified of needing surgery.