I think there's a wound in your mouth that can be caused by trauma, infection or endocarditis, and you have to examine the wound more closely to see the underlying cause.
The doctor, the toothache, the neck swelling, the lips edema, the mouth ulcer, what's the problem?