Wisdom teeth (especially upper ones) may push sideways as they try to erupt and can cause a painful ulcer where it rubs against the inside of the check. The ulcer will not heal until the wisdom tooth is removed.