Treatment usually involves the administration of topical nystatin or similar antifungal agents. Another treatment can be to correct the jaw relationship with dental treatment (e.g., dentures or occlusal adjustment). Denture-related stomatitis
This is a common condition present in denture wearers. It appears as reddened but painless mucosa beneath the denture. 90% of cases are associated with Candida species, and it is the most common form of oral candidiasis. Treatment is by antifungal medication and improved dental hygiene, such as not wearing the denture during sleep. Allergic contact stomatitis
Allergic contact stomatitis (also termed "allergic gingivostomatitis" or "allergic contact gingivostomatitis") is a type IV (delayed) hypersensitivity reaction that occurs in susceptible atopic individuals when allergens penetrate the skin or mucosa.Allergens, which may be different for different individuals, combine with epithelial-derived proteins, forming haptens which bind with Langerhans cells in the mucosa, which in turn present the antigen on their surface to T lymphocytes, sensitizing them to that antigen and causing them to produce many specific clones. The second time that specific antigen is encountered, an inflammatory reaction is triggered at the site of exposure. Allergic contact stomatitis is less common than allergic contact dermatitis because the mouth is coated in saliva, which washes away antigens and acts as a barrier. The oral mucosa is also more vascular (has a better blood supply) than skin, meaning that any antigens are more quickly removed from the area by the circulation.
Stomatitis is inflammation of the mouth and lips. It refers to any inflammatory process affecting the mucous membranes of the mouth and lips, with or without oral ulceration.In its widest meaning, stomatitis can have a multitude of different causes and appearances. Common causes include infections, nutritional deficiencies, allergic reactions, radiotherapy, and many others. When inflammation of the gums and the mouth generally presents itself, sometimes the term gingivostomatitis is used, though this is also sometimes used as a synonym for herpetic gingivostomatitis. The term is derived from the Greek stoma (στόμα), meaning "mouth", and the suffix -itis (-ῖτις), meaning "inflammation". Causes
Nutritional deficiency
Malnutrition (improper dietary intake) or malabsorption (poor absorption of nutrients into the body) can lead to nutritional deficiency states, several of which can lead to stomatitis. For example, deficiencies of iron, vitamin B2 (riboflavin),: 490  vitamin B3 (niacin), vitamin B6 (pyridoxine), vitamin B9 (folic acid) or vitamin B12 (cobalamine) may all manifest as stomatitis. Iron is necessary for the upregulation of transcriptional elements for cell replication and repair. Lack of iron can cause genetic downregulation of these elements, leading to ineffective repair and regeneration of epithelial cells, especially in the mouth and lips. Many disorders which cause malabsorption can cause deficiencies, which in turn causes stomatitis. Examples include tropical sprue. : 49

Aphthous stomatitis
Aphthous stomatitis (canker sores) is the recurrent appearance of mouth ulcers in otherwise healthy individuals. The cause is not completely understood, but it is thought that the condition represents a T cell mediated immune response which is triggered by a variety of factors.