If the tooth being filled is too far back and you have to open your mouth too much, this will cause short-term pain in your jaw and the inability to open your mouth. Taking a muscle relaxant and massaging your jaw with a warm towel can help you relax. There is no need to worry.