An ulcer is a discontinuity of the epithelial surface characterized by destruction of the surface epithelium and granulating base. Ulcers are classified as non-specific, specific, or malignant. Non-specific ulcers include peptic ulcers, pressure sores, and traumatic ulcers. Specific ulcers are infective types like herpes simplex or tuberculous ulcers. Malignant ulcers are related to cancers like gastric carcinoma. The document examines ulcer characteristics like mode of onset, duration, pain, discharge, and associated diseases to classify and diagnose the type of ulcer.