Are ulcers an issue?

So my S.O has gotten ulcers within his mouth and we don’t know why it was caused (possibilities could be from brushing the teeth too hard but it’s not the first time he’s had ulcers) and after some research I don’t know whether their contagious through kissing or head, any answers/suggestions?

💛