A custom-made mouthguard works by putting a barrier between your teeth. This barrier not only protects your teeth from damage caused by grinding, but it also cushions the muscles in your jaw. Relieving the pressure put on your jaw by grinding and clenching usually relieves TMJ pain and related symptoms like headaches.