sores, cold sores or herpes sores are caused by a virus and are extremely contagious. Also, cold sores typically appear outside the mouth – usually, under the nose, around the lips, or under the chin while canker sores occur inside the mouth.
Pain from a canker sore generally lessens in a few days and the sores usually heal without treatment in about a week or two. Avoid spicy or acidic foods during this time.
But if the sores last for more than 3 wks or start spreading then pls consult a dermatologist. In that case herpes simplex I has to be ruled out.
I hope that helps. Take care and pls do keep me posted on how you are doing or if you have any additional doubts.Kind regards.