Both aphthous ulcers and herpes occur in the mouth, but the second is not limited to the mouth. Aphthous ulcers are open sores in the mouth, caused by a break in the mucous membrane. Aphthous ulcers can also be caused by a broken tooth. Aphthous ulcers are non-contagious, so they can't be contacted by anyone else.
On the other hand, herpes is viral infections that cause painful, watery blisters in the skin, or on the genitals or mucous membranes. Herpes is viral infections caused by Human alphaherpesvirus 1 and Human alphaherpesvirus 2.
This infection occurs in the face or mouth; it is usually caused by Human alphaherpesvirus 1, while the one that occurs on the genital is caused by Human alphaherpesvirus 2. Unlike aphthous ulcers that are not contagious or infectious, herpes is contagious and infectious. This means herpes can be transmitted to another person through kissing and even through unprotected sexual intercourse.