The exact source of the problem will need to be determined by your dentist and a suitable course of treatment undertaken. This may just mean wearing braces -- but for those with more serious dental issues, such as an overbite or a problem with jawbone formation, orthodontic surgery may be required.
Surgical orthodontics may require the intervention of an oral surgeon who will work with the dentist to decide on the most appropriate course of action to take.
Each individual's case will be different but, in general, will involve:
Braces will not be necessary in all cases but is highly probable and will likely begin about 4-6 weeks after your procedure to allow time for the surgical work to heal.
Not all jaw pain will require orthodontic surgery but the cause will need to be investigated as it may be a warning sign of underlying dental problems that will only worsen over time.
Read more on this topic at https://yourdentalhealthresource.com/treat-your-jaw-pain-with-surgical-orthodontics/