If you are asking about a rash
around a baby's mouth (not inside) it may be a form of contact dermatitis
from newly introduced foods.
Sometimes babies will get a red, rough area beneath their bottom lip- this is not an allergy to the food, but just their skim getting used to the new food. Use vasoline before eating to help.