Hello~It sounds to me like a type of "cold sore" they can really hurt. I would try to rinse the area with some warm salt water for a few days, if that does not help, I would call your dentist, they usually can help with these particular issues. I don't think it is cancer.