It is generally recommended to wait until the pain medication has fully taken effect before massaging your jaw. After the medication has taken effect, you should still exercise caution when massaging the area to ensure that the pain does not return. If you experience any pain or discomfort while massaging the jaw, immediately stop and speak to your dentist.