(not a teacher)
Ulcers inside the mouth are usually called canker sores or mouth sores. I'm not sure there is a particular word for one that occurs on the lips. Perhaps cold sores? However, those are associated with herpes. Maybe just lip sores, if herpes isn't involved.
Student or Learner