Hi, I have had this jaw pain on my right

Patient: Hi, I have had this jaw pain on my right side for quite a few days already. No visible swelling yet. It hurts when I move my head and when i touch it. I also have a huge ulcer that has been there many days on the right side. Could the jaw pain be related to the ulcer? Should I take medicine, and if so which? thanks

Symptoms: Jaw pain, mouth ulcer

Doctor: