Vet visit for a check up and most likely the dog needs a dental.

Dogs have dental issues, same as humans. They can get abcesses, and those HURT. Left unattended, the infection can spread to the heart, just as with humans.